mirror of
https://github.com/maputnik/editor.git
synced 2026-07-27 16:27:26 +00:00
Fix checkbox not showing status
This commit is contained in:
@@ -17,7 +17,9 @@ class CheckboxInput extends React.Component {
|
|||||||
checked={this.props.value}
|
checked={this.props.value}
|
||||||
/>
|
/>
|
||||||
<div className="maputnik-checkbox-box">
|
<div className="maputnik-checkbox-box">
|
||||||
<svg className="maputnik-checkbox-icon" viewBox='0 0 32 32'>
|
<svg style={{
|
||||||
|
display: this.props.value ? 'inline' : 'none'
|
||||||
|
}} className="maputnik-checkbox-icon" viewBox='0 0 32 32'>
|
||||||
<path d='M1 14 L5 10 L13 18 L27 4 L31 8 L13 26 z' />
|
<path d='M1 14 L5 10 L13 18 L27 4 L31 8 L13 26 z' />
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user