UNPKG

@cc98/react-ubb-editor

Version:
48 lines (37 loc) 2.08 kB
# react-ubb-editor [![Build Status](https://travis-ci.org/AsukaSong/react-ubb-editor.svg?branch=master)](https://travis-ci.org/AsukaSong/react-ubb-editor) [![CircleCI](https://circleci.com/gh/AsukaSong/react-ubb-editor.svg?style=shield)](https://circleci.com/gh/AsukaSong/react-ubb-editor) [![codecov](https://codecov.io/gh/AsukaSong/react-ubb-editor/branch/master/graph/badge.svg)](https://codecov.io/gh/AsukaSong/react-ubb-editor) [![npm version](https://img.shields.io/npm/v/%40cc98/react-ubb-editor.svg)](https://www.npmjs.com/package/@cc98/react-ubb-editor) [![types](https://img.shields.io/npm/types/typescript.svg)](https://github.com/Microsoft/TypeScript) [![develop tools](https://img.shields.io/badge/devtool-storybook-ff69b4.svg)](https://github.com/storybooks/storybook) [![npm license](https://img.shields.io/npm/l/%40cc98%2Freact-ubb-editor.svg)](http://www.wtfpl.net/) <br /> [![BCH compliance](https://bettercodehub.com/edge/badge/AsukaSong/react-ubb-editor?branch=master)](https://bettercodehub.com/) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/9e0619a0ba684e42b73be279e22dadd5)](https://www.codacy.com/app/yansongdong/react-ubb-editor?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=AsukaSong/react-ubb-editor&amp;utm_campaign=Badge_Grade) [![CodeFactor](https://www.codefactor.io/repository/github/asukasong/react-ubb-editor/badge)](https://www.codefactor.io/repository/github/asukasong/react-ubb-editor) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=AsukaSong/react-ubb-editor)](https://dependabot.com) A ubb editor based on react <br /> See more at https://asukasong.github.io/react-ubb-editor/ ## Install with yarn ~~~bash yarn add @cc98/react-ubb-editor ~~~ or with npm ~~~bash npm install --save @cc98/react-ubb-editor ~~~ ## Usage ```jsx import createEditor from '@cc98/react-ubb-editor' const Editor = createEditor() ReactDOM.render(<Editor />, document.getElementById('app')) ``` ## Development ```bash yarn start ``` ## License [WTFPL](http://www.wtfpl.net/ "WTFPL LICENSE")