feat(components): add ContentSwitcher, Switch

Closes #33
This commit is contained in:
Eric Liu 2019-12-20 16:35:48 -08:00
commit 9afc149193
7 changed files with 155 additions and 0 deletions

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