mirror of
https://github.com/maputnik/editor.git
synced 2026-01-03 03:50:00 +00:00
Merge remote-tracking branch 'upstream/master' into feature/ui-errors-and-expressions
This commit is contained in:
@@ -3,11 +3,15 @@ import PropTypes from 'prop-types'
|
||||
|
||||
class CheckboxInput extends React.Component {
|
||||
static propTypes = {
|
||||
value: PropTypes.bool.isRequired,
|
||||
value: PropTypes.bool,
|
||||
style: PropTypes.object,
|
||||
onChange: PropTypes.func,
|
||||
}
|
||||
|
||||
static defaultProps = {
|
||||
value: false,
|
||||
}
|
||||
|
||||
render() {
|
||||
return <label className="maputnik-checkbox-wrapper">
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user