mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
parent
5ec9c0089f
commit
9afc149193
7 changed files with 155 additions and 0 deletions
19
src/components/ContentSwitcher/ContentSwitcher.stories.js
Normal file
19
src/components/ContentSwitcher/ContentSwitcher.stories.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
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)
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue