Skip to content

Commit

Permalink
added args
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Donahue committed May 27, 2022
1 parent 3739c25 commit db958fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/stories/FormAlertWithSubmitButton.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ const Template = args => <FormAlertWithSubmitButton {...args} />;
// Arguments can be passed to the component by binding
// See: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
const Default = Template.bind({});
Default.args = {
isAlertVisible: true,
onSubmit: () => {},
buttonText: 'Submit',
network: {
isOffline: true,
},
};

export default story;
export {
Expand Down

0 comments on commit db958fc

Please sign in to comment.