diff --git a/README.md b/README.md index 8d526fe..f20c81a 100644 --- a/README.md +++ b/README.md @@ -48,11 +48,11 @@ Live Demo here : http://misterfresh.github.io/react-easy-transition * Performance : still using native browser CSS transition under the hood * Flexible : support for multiple transitions -## Problems this solves +## This module solves the following issues: * The fade-in effect when component mounts is rather straightforward to do with pure CSS transitions. However, the fade-out effect is impossible to do using only CSS because the component disappears immediately when unmounted. * The new component appears before the end of the fade-out transition of the previous component, so both are shown at the same time, one on top of the other. ## Example -Go to the examples/basic directory to see an example of integration with react-router and redux \ No newline at end of file +Go to the examples/basic directory to see an example of integration with react-router and redux diff --git a/examples/basic/README.md b/examples/basic/README.md index 6336605..5728d25 100644 --- a/examples/basic/README.md +++ b/examples/basic/README.md @@ -1,7 +1,11 @@ react-easy-transition basic example =================================== -In components/App.js, we wrap props.children in an tag. That's it. +In components/App.js, we wrap props.children in an +```jsx + +``` +tag. That's it. Demo : http://misterfresh.github.io/react-easy-transition