2019-03-16 15:44:29 -07:00
|
|
|
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;
|