|
Download wp-calypso/client/components/animate/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/animate/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/animate/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/animate/README.md
371 Bytes
| # Animate | |
| Simple interface to introduce animations to components on initial render. Used as a wrapper. | |
| ## How to use | |
| ```jsx | |
| import Animate from 'calypso/components/animate'; | |
| function render() { | |
| return <Animate type="appear">Will animate</Animate>; | |
| } | |
| ``` | |
| ## Props | |
| - `type`: (string) a string matching one of the approved transition effects (`appear` or `fade-in`). | |