Add required click handler to prevent errors.

This commit is contained in:
igor 2017-12-20 08:39:50 +02:00
parent 08b0bdafa6
commit a1470f6d86

View File

@ -105,7 +105,8 @@ storiesOf('Addon Notes', module)
withNotes({ text: 'My notes on some button' })(() => ({
component: Button,
props: {
text: 'Notes on some Button'
text: 'Notes on some Button',
onClick: () => {},
}
}))
)
@ -122,7 +123,8 @@ storiesOf('Addon Notes', module)
})(() => ({
component: Button,
props: {
text: 'Notes with HTML'
text: 'Notes with HTML',
onClick: () => {},
}
}))
);