You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,11 @@ export default class App extends React.Component{
36
36
}
37
37
~~~
38
38
39
+
###props
40
+
41
+
`closeOnOuterClick`: If somone clicks outside of the modal when it's in focus, should it close? You choose.
42
+
Everything else will be merged and you're free to apply any props you want.
43
+
39
44
You have the option to call `this.refs.modal.show()` and `hide()` similar to other modals out there in react.
40
45
The big difference is that you can require the css from 'simple-react-modal/dist/modal' and easily add other classes that make it look however you like.
41
46
Customizing the style is easy, to target the actual content area it will be `.your-class div`.
0 commit comments