Skip to content

Switch

Pattern-matching conditional container supporting Case and Default branches.

1.5 KB
•
Updated on August 21, 2026

Example 2: Order Status Badge Renderer

Installation

Bash

Usage

Code

API Reference

Parameters / Props

Return Value