How to use the netlify-cms-widget-markdown.controlComponent function in netlify-cms-widget-markdown

To help you get started, we’ve selected a few netlify-cms-widget-markdown examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github karolis-sh / gatsby-mdx / packages / netlify-cms-widget-mdx / src / index.js View on Github external
import React from 'react';
import MarkdownWidget from 'netlify-cms-widget-markdown';
import MdxPreview from './MdxPreview';

export const setupPreview = mdxProps => props => ;

const MdxControl = MarkdownWidget.controlComponent;

export { MdxControl, MdxPreview };

netlify-cms-widget-markdown

Widget for editing markdown in Netlify CMS.

MIT
Latest version published 3 years ago

Package Health Score

53 / 100
Full package analysis