Created
March 13, 2018 17:16
-
-
Save alterx/91fc1a2c92eda059e5a982c50b9c6168 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
import { Button } from '@storybook/angular/demo'; | |
storiesOf('Addon|Notes', module) | |
.add( | |
'Simple note', | |
withNotes({ text: 'My notes on some button' })(() => ({ | |
component: Button, | |
props: { | |
text: 'Notes on some Button', | |
onClick: () => {}, | |
}, | |
})) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment