Bucklescript bindings for react-transition-group
npm install reason-transition-groupThis is Bucklescript bindings for react-transition-group.
versions @2.x.x are written for jsx3
versions @1.x.x are written for jsx2
```
yarn add reason-transition-group
Add reason-transition-group to bs-depenencies in your bsconfig.json!
`js`
{
/ ... /
"bs-dependencies": [
"reason-transition-group"
],
/ ... /
}
Folow official docs of React Transition Group.
jsx2
`reason
open ReasonTransitionGroup
/ ... /
...{state => {state |> ReasonReact.string}}
/ ... /
/ ... /
...{state => {state |> ReasonReact.string}}
/ ... /
/ ... /
...{state => {state |> ReasonReact.string}}
/ ... /
``
jsx3
`reason
open ReasonTransitionGroup
/ ... /
{state => {state |> ReasonReact.string}}
/ ... /
/ ... /
{state => {state |> ReasonReact.string}}
/ ... /
/ ... /
{state => {state |> ReasonReact.string}}
/ ... /
```
Also check react-transition-group examples translated to reason-react here for jsx2, here for jsx3
Feel free to post issues.