mirror of
https://github.com/maputnik/editor.git
synced 2026-08-28 16:07:28 +00:00
9540686b40
Keeps the repo clean, same as several other of our repos --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
18 lines
391 B
TypeScript
18 lines
391 B
TypeScript
import React from 'react'
|
|
import Block from './Block'
|
|
import InputCheckbox, {InputCheckboxProps} from './InputCheckbox'
|
|
|
|
|
|
type FieldCheckboxProps = InputCheckboxProps & {
|
|
label?: string;
|
|
};
|
|
|
|
|
|
export default class FieldCheckbox extends React.Component<FieldCheckboxProps> {
|
|
render() {
|
|
return <Block label={this.props.label}>
|
|
<InputCheckbox {...this.props} />
|
|
</Block>
|
|
}
|
|
}
|