13 lines
263 B
JavaScript
13 lines
263 B
JavaScript
import controlComponent from './BooleanControl';
|
|
|
|
function Widget(opts = {}) {
|
|
return {
|
|
name: 'boolean',
|
|
controlComponent,
|
|
...opts,
|
|
};
|
|
}
|
|
|
|
export const NetlifyCmsWidgetBoolean = { Widget, controlComponent };
|
|
export default NetlifyCmsWidgetBoolean;
|