Skip to content

Instantly share code, notes, and snippets.

@alterx
Created March 13, 2018 17:16
Show Gist options
  • Save alterx/bd03361764f6bf07c213c57ddf134e0f to your computer and use it in GitHub Desktop.
Save alterx/bd03361764f6bf07c213c57ddf134e0f to your computer and use it in GitHub Desktop.
storiesOf('Metadata|Individual', module)
.add('Individual 1', () => ({
template: `<storybook-simple-token-component [name]="name"></storybook-simple-token-component>`,
props: {
name: 'Prop Name',
},
moduleMetadata: {
imports: [],
declarations: [],
providers: [
{
provide: ITEMS,
useValue: ['Joe', 'Jane'],
},
],
},
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment