@cc98/react-ubb-editor
Version:
A ubb editor component based on react
48 lines (37 loc) • 2.08 kB
Markdown
# react-ubb-editor
[](https://travis-ci.org/AsukaSong/react-ubb-editor)
[](https://circleci.com/gh/AsukaSong/react-ubb-editor)
[](https://codecov.io/gh/AsukaSong/react-ubb-editor)
[](https://www.npmjs.com/package/@cc98/react-ubb-editor)
[](https://github.com/Microsoft/TypeScript)
[](https://github.com/storybooks/storybook)
[](http://www.wtfpl.net/)
<br />
[](https://bettercodehub.com/)
[](https://www.codacy.com/app/yansongdong/react-ubb-editor?utm_source=github.com&utm_medium=referral&utm_content=AsukaSong/react-ubb-editor&utm_campaign=Badge_Grade)
[](https://www.codefactor.io/repository/github/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")