feat(content-switcher): add "sm", "xl" size variants

This commit is contained in:
Eric Liu 2020-10-15 16:31:07 -07:00
commit 3edf9ea2a2
4 changed files with 34 additions and 5 deletions

View file

@ -31,6 +31,22 @@
<Switch text="Switch 2" />
</ContentSwitcher>
### Extra-large size
<ContentSwitcher size="xl">
<Switch text="Switch 1" />
<Switch text="Switch 2" />
<Switch text="Switch 3" />
</ContentSwitcher>
### Small size
<ContentSwitcher size="sm">
<Switch text="Switch 1" />
<Switch text="Switch 2" />
<Switch text="Switch 3" />
</ContentSwitcher>
### Disabled
<ContentSwitcher>