13 lines
319 B
JavaScript
Raw Normal View History

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