Fix story using the wrong prop name
This commit is contained in:
parent
1d248a144b
commit
9317efc253
@ -33,7 +33,7 @@ const Template: ComponentStory<typeof NotifyReminderPopup> = args => <Example {.
|
|||||||
|
|
||||||
export const Active = Template.bind({});
|
export const Active = Template.bind({});
|
||||||
Active.args = {
|
Active.args = {
|
||||||
visible: true,
|
open: true,
|
||||||
notificationClicked: () => {
|
notificationClicked: () => {
|
||||||
alert('notification clicked');
|
alert('notification clicked');
|
||||||
},
|
},
|
||||||
@ -44,5 +44,5 @@ Active.args = {
|
|||||||
|
|
||||||
export const InActive = Template.bind({});
|
export const InActive = Template.bind({});
|
||||||
InActive.args = {
|
InActive.args = {
|
||||||
visible: false,
|
open: false,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user