0.1.3 • Published 3 years ago
@rebecarose/react-markdown-editor v0.1.3
React Markdown Editor
React Markdown is available as an npm package.
Installation
- with npm
npm install @rebecarose/react-markdown-editor
- with yarn
yarn add @rebecarose/react-markdown-editorGetting started with React Markdown Editor
View the Demo and its source for more.
import React, {useState} from 'react';
import { MarkdownEditor } from '@rebecarose/react-markdown-editor';
const App = () => {
    const [value, setValue] = useState('');
    return (
        <MarkdownEditor
            value={value}
            onChange={e => setValue(e)}
        />
    )
}