Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ export default class App extends React.Component{
render(){
return (
<div>
<a onClick={this.show.bind(this)}>Open Modal</a>
<a onClick={this.show}>Open Modal</a>
<Modal
className="test-class" //this will completely overwrite the default css completely
style={{background: 'red'}} //overwrites the default background
containerStyle={{background: 'blue'}} //changes styling on the inner content area
containerClassName="test"
closeOnOuterClick={true}
show={this.state.show}
onClose={this.close.bind(this)}>
onClose={this.close}>

<a style={closeStyle} onClick={this.close.bind(this)}>X</a>
<a style={closeStyle} onClick={this.close}>X</a>
<div>hey</div>

</Modal>
Expand Down