1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-04-08 00:22:07 +08:00
2018-01-19 19:30:51 +02:00

19 lines
483 B
TypeScript

import { storiesOf } from '@storybook/angular';
import { IconButtonComponent } from './icon-button.component';
import { BaseButtonComponent } from './base-button.component';
storiesOf('Inheritance', module)
.add('icon button', () => ({
component: IconButtonComponent,
props: {
icon: 'this is icon',
label: 'this is label',
},
}))
.add('base button', () => ({
component: BaseButtonComponent,
props: {
label: 'this is label',
},
}));