Skip to content

Commit 870de31

Browse files
committed
add README
1 parent fbab969 commit 870de31

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
`react-nullable-transition` is simple wrap component for using `react-transition-group` with jsx stataments (like vue transition).
2+
3+
For example you can create `OpacityTransition` component based on this package and use it like this:
4+
5+
```jsx
6+
<OpacityTransition>
7+
{show && <Square />}
8+
</OpacityTransition>
9+
```
10+
11+
See full example [here](https://github.com/mavajee/react-nullable-transition/tree/master/example).

0 commit comments

Comments
 (0)