13 lines
263 B
JavaScript
Raw Normal View History

import controlComponent from './BooleanControl';
2019-03-27 13:47:28 -07:00
function Widget(opts = {}) {
return {
name: 'boolean',
controlComponent,
...opts,
};
}
2019-03-27 13:47:28 -07:00
export const NetlifyCmsWidgetBoolean = { Widget, controlComponent };
export default NetlifyCmsWidgetBoolean;