15 lines
337 B
JavaScript
Raw Normal View History

import controlComponent from './TextControl';
import previewComponent from './TextPreview';
function Widget(opts = {}) {
return {
name: 'text',
controlComponent,
previewComponent,
...opts,
};
}
2019-03-27 13:47:28 -07:00
export const NetlifyCmsWidgetText = { Widget, controlComponent, previewComponent };
export default NetlifyCmsWidgetText;