13 lines
339 B
JavaScript
Raw Normal View History

import controlComponent from './MarkdownControl';
import previewComponent from './MarkdownPreview';
2019-03-27 13:47:28 -07:00
const Widget = (opts = {}) => ({
name: 'markdown',
controlComponent,
previewComponent,
...opts,
});
export const NetlifyCmsWidgetMarkdown = { Widget, controlComponent, previewComponent };
export default NetlifyCmsWidgetMarkdown;