Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(modal.mdx): fix spelling in modal documentation #862

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/docs/components/modal/modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Using a `openModal` and `setOpenModal` state for the main React component should

## Backdrop dismissible

To enable the modal to be dismissed when clicking outside of the component (ie. the backdrop) then you can pass the `dismissible` prop to the `<Modal>` component frm React.
To enable the modal to be dismissed when clicking outside of the component (ie. the backdrop) then you can pass the `dismissible` prop to the `<Modal>` component from React.

<CodePreview
code={`<Button onClick={() => props.setOpenModal('dismissible')}>Toggle modal</Button>
Expand Down