Skip to content

Commit b7b3f25

Browse files
fix createModal example (#106)
* fix createModal example * Delete package-lock.json Signed-off-by: Enguerran Weiss <enguerranweiss@gmail.com> --------- Signed-off-by: Enguerran Weiss <enguerranweiss@gmail.com> Co-authored-by: Enguerran Weiss <enguerranweiss@gmail.com>
1 parent bd569c6 commit b7b3f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stories/Modal.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ of \`name\` key of the \`options\` param object :
3333
3434
**Eg.:**
3535
\`\`\`
36-
const { MyComponentModal, myComponentButtonProps } = createModal({
36+
const { MyComponentModal, myComponentModalButtonProps } = createModal({
3737
name: "myComponent", // The name of Modal component and modalButtonProps is compute from this string
3838
isOpenedByDefault: false
3939
});

0 commit comments

Comments
 (0)