13 lines
339 B
JavaScript
13 lines
339 B
JavaScript
import controlComponent from './MarkdownControl';
|
|
import previewComponent from './MarkdownPreview';
|
|
|
|
const Widget = (opts = {}) => ({
|
|
name: 'markdown',
|
|
controlComponent,
|
|
previewComponent,
|
|
...opts,
|
|
});
|
|
|
|
export const NetlifyCmsWidgetMarkdown = { Widget, controlComponent, previewComponent };
|
|
export default NetlifyCmsWidgetMarkdown;
|