chore: refine named exports (#2249)
This commit is contained in:
committed by
Shawn Erquhart
parent
4db497b496
commit
b4041d3971
@ -1,3 +1,10 @@
|
||||
import controlComponent from './BooleanControl';
|
||||
export const NetlifyCmsWidgetBoolean = { controlComponent };
|
||||
export { controlComponent };
|
||||
|
||||
const Widget = (opts = {}) => ({
|
||||
name: 'boolean',
|
||||
controlComponent,
|
||||
...opts,
|
||||
});
|
||||
|
||||
export const NetlifyCmsWidgetBoolean = { Widget, controlComponent };
|
||||
export default NetlifyCmsWidgetBoolean;
|
||||
|
Reference in New Issue
Block a user