Download wp-calypso/client/components/animate/docs/example.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/animate/docs/example.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/animate/docs/example.jsx
-
curl -L -o example.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/animate/docs/example.jsx
392 Bytes
| import Animate from '../index'; | |
| function AnimateExample( props ) { | |
| return props.exampleCode; | |
| } | |
| Animate.displayName = 'Animate'; | |
| AnimateExample.displayName = 'Animate'; | |
| AnimateExample.defaultProps = { | |
| exampleCode: ( | |
| <Animate type="appear"> | |
| This content will animate on rendering. You may have to reload the page to see the effect. | |
| </Animate> | |
| ), | |
| }; | |
| export default AnimateExample; | |