feat(content-switcher): support light variant

This commit is contained in:
Eric Liu 2020-07-20 19:58:33 -07:00
commit 9a78f9900d
3 changed files with 10 additions and 1 deletions

View file

@ -5,7 +5,10 @@ export default { title: "ContentSwitcher", decorators: [withKnobs] };
export const Default = () => ({
Component,
props: { disabled: boolean("Disabled (disabled)", false) },
props: {
disabled: boolean("Disabled (disabled)", false),
light: boolean("Light variant (light)", false),
},
});
export const Selected = () => ({
@ -13,5 +16,6 @@ export const Selected = () => ({
props: {
story: "selected",
disabled: boolean("Disabled (disabled)", false),
light: boolean("Light variant (light)", false),
},
});