13 lines
329 B
JavaScript
Raw Normal View History

import controlComponent from './StringControl';
import previewComponent from './StringPreview';
2019-03-27 13:47:28 -07:00
const Widget = (opts = {}) => ({
name: 'string',
controlComponent,
previewComponent,
...opts,
});
export const NetlifyCmsWidgetString = { Widget, controlComponent, previewComponent };
export default NetlifyCmsWidgetString;