Skip to content

Commit 24fd022

Browse files
committed
Add documentation for new prop
1 parent b9f87d7 commit 24fd022

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ import 'react-simple-hook-modal/dist/styles.css';
7676

7777
- `backdropClassName` which can contain one or more classes to append and override the default styles (e.g. Changing the backdrop colour can be done by adding the class `bg-blue-800`).
7878

79+
`Modal` also takes optional props:
80+
- `modalClassName` which can contain one or more classes to append to the default modal div.
81+
7982
# Example
8083

8184
See the `example` directory in the repository for a full example including multiple stacked modals.

0 commit comments

Comments
 (0)