You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **`MatchOption`**: Provides a declarative switch-case pattern. It compares the [Match] component's `value` against the `is` prop of its [Option] children.
46
+
* The first matching [Option] is rendered; otherwise, the `fallback` is displayed.
The component has an array of numbers and a variable state number used like index of array. Every 2 seconds index changes value. It uses __MatchOption__ component to render different p element with a text indicating the value of array with the current index.
0 commit comments