Skip to content

Commit

Permalink
ConfirmDialog Stories: simplify args in template code
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Apr 29, 2022
1 parent 98b6642 commit 168674a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/src/confirm-dialog/stories/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ const Template = ( args ) => {
</Button>

<ConfirmDialog
{ ...args }
isOpen={ isOpen }
onConfirm={ handleConfirm }
onCancel={ handleCancel }
cancelButtonText={ args.cancelButtonText }
confirmButtonText={ args.confirmButtonText }
>
{ args.children }
</ConfirmDialog>
Expand Down

0 comments on commit 168674a

Please sign in to comment.