We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b868a commit 7bc540cCopy full SHA for 7bc540c
README.md
@@ -38,11 +38,11 @@ https://react-component.github.io/motion/
38
```tsx
39
import CSSMotion from 'rc-motion';
40
41
-export default ({ visible }) => {
+export default ({ visible }) => (
42
<CSSMotion visible={visible} motionName="my-motion">
43
{({ className, style }) => <div className={className} style={style} />}
44
- </CSSMotion>;
45
-};
+ </CSSMotion>
+);
46
```
47
48
## API
0 commit comments