mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
21 lines
554 B
JavaScript
21 lines
554 B
JavaScript
import { withKnobs, boolean } from "@storybook/addon-knobs";
|
|
import Component from "./ContentSwitcher.Story.svelte";
|
|
|
|
export default { title: "ContentSwitcher", decorators: [withKnobs] };
|
|
|
|
export const Default = () => ({
|
|
Component,
|
|
props: {
|
|
disabled: boolean("Disabled (disabled)", false),
|
|
light: boolean("Light variant (light)", false),
|
|
},
|
|
});
|
|
|
|
export const Selected = () => ({
|
|
Component,
|
|
props: {
|
|
story: "selected",
|
|
disabled: boolean("Disabled (disabled)", false),
|
|
light: boolean("Light variant (light)", false),
|
|
},
|
|
});
|