Fix click handling for stories
This commit is contained in:
parent
c0082adc56
commit
698c7a7739
78 changed files with 274 additions and 46 deletions
|
@ -18,6 +18,7 @@ export default {
|
|||
export const _ConfirmationDialog = (): JSX.Element => {
|
||||
return (
|
||||
<ConfirmationDialog
|
||||
dialogName="test"
|
||||
i18n={i18n}
|
||||
onClose={action('onClose')}
|
||||
title={text('Title', 'Foo bar banana baz?')}
|
||||
|
@ -46,6 +47,7 @@ _ConfirmationDialog.story = {
|
|||
export const CustomCancelText = (): JSX.Element => {
|
||||
return (
|
||||
<ConfirmationDialog
|
||||
dialogName="test"
|
||||
cancelText="Nah"
|
||||
i18n={i18n}
|
||||
onClose={action('onClose')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue