0.1.1 • Published 4 years ago

@stickyboard/markdown v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

stickyboard-markdown

Markdown component for StickyBoard

Version Downloads/week License

Webpack watch

$ npm start

Build

$ npm run build

Basic usage

import { Markdown } from '@stickyboard/markdown';

function MarkdownUsage() {
    const content = '# header1\n## header2\n### header3';

    return (
        <Markdown
            editable
            content={content}
            onSave={(content) => {
                // TODO: Save your content
            }}
        />
    );
}

License

This project is licenced under the MIT License.