carbon-components-svelte/src/ContentSwitcher/ContentSwitcher.stories.js
2020-07-20 19:58:33 -07:00

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),
},
});