diff --git a/docs/src/pages/components/ContentSwitcher.svx b/docs/src/pages/components/ContentSwitcher.svx index 3dc212f8..ca8f14f3 100644 --- a/docs/src/pages/components/ContentSwitcher.svx +++ b/docs/src/pages/components/ContentSwitcher.svx @@ -24,6 +24,10 @@ components: ["ContentSwitcher", "Switch"] +### Reactive example + + + ### Light variant diff --git a/docs/src/pages/framed/ContentSwitcher/ContentSwitcherReactive.svelte b/docs/src/pages/framed/ContentSwitcher/ContentSwitcherReactive.svelte new file mode 100644 index 00000000..847469ab --- /dev/null +++ b/docs/src/pages/framed/ContentSwitcher/ContentSwitcherReactive.svelte @@ -0,0 +1,34 @@ + + + + + + + + + + +
+ +
+ +
Selected index: {selectedIndex}