Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import {moduleMetadata, storiesOf} from '@storybook/angular';
import {AppModule} from '../app.module';
import {HeaderComponent} from './header.component';
storiesOf('Header', module)
.addDecorator(moduleMetadata({ imports: [ AppModule ]}))
.add('Score 0', () => ({
component: HeaderComponent,
props: {
Score: 0
},
}))
.add('Score 10000', () => ({
component: HeaderComponent,
props: {
Score: 10000
},
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.