bs-react-markdown
Version:
[Reason](https://reasonml.github.io/) binding for [react-markdown](https://github.com/rexxars/react-markdown)
32 lines (24 loc) • 544 B
Markdown
[//reasonml.github.io/) binding for [react-markdown](https://github.com/rexxars/react-markdown)
```
yarn add bs-react-markdown
yarn add react-markdown
```
then add dependence to you bsconfig.json like this
```
{
...
"bs-dependencies": [..., "bs-react-markdown"],
...
}
```
```
open ReactMarkdown;
let component = ReasonReact.statelessComponent("App");
let make = ( _children) => {
...component,
render: _self =>
<Markdown source="## you first reason-markdown snippet" />
};
```
](https: