11 lines
247 B
JavaScript
Raw Normal View History

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