carbon-components-svelte/src/components/ContentSwitcher/ContentSwitcher.stories.js
2019-12-20 16:35:48 -08:00

19 lines
446 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)
}
});
export const Selected = () => ({
Component,
props: {
story: 'selected',
disabled: boolean('Disabled (disabled)', false)
}
});