Style open modal

This commit is contained in:
Lukas Martinelli
2017-01-11 09:35:48 +01:00
parent 4a75b0381b
commit 9ef24428fe
24 changed files with 548 additions and 456 deletions

View File

@@ -30,7 +30,6 @@ class InputBlock extends React.Component {
render() {
return <div style={{
...input.property,
...this.props.style,
}}
className="maputnik-input-block"

View File

@@ -69,9 +69,7 @@ class NumberInput extends React.Component {
render() {
return <input
className="maputnik-number"
style={{
...this.props.style
}}
style={this.props.style}
placeholder={this.props.default}
value={this.state.value}
onChange={e => this.changeValue(e.target.value)}

View File

@@ -23,10 +23,7 @@ class StringInput extends React.Component {
render() {
return <input
className="maputnik-string"
style={{
...input.input,
...this.props.style
}}
style={this.props.style}
value={this.state.value}
placeholder={this.props.default}
onChange={e => this.setState({ value: e.target.value })}