mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
19 lines
446 B
JavaScript
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)
|
|
}
|
|
});
|