Download wp-calypso/client/devdocs/design/wordpress-components-gallery/animate.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/devdocs/design/wordpress-components-gallery/animate.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/devdocs/design/wordpress-components-gallery/animate.tsx
-
curl -L -o animate.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/devdocs/design/wordpress-components-gallery/animate.tsx
290 Bytes
| import { Animate, Notice } from '@wordpress/components'; | |
| const AnimateExample = () => ( | |
| <Animate type="loading"> | |
| { ( { className } ) => ( | |
| <Notice className={ className } status="success"> | |
| <p>Loading animation</p> | |
| </Notice> | |
| ) } | |
| </Animate> | |
| ); | |
| export default AnimateExample; | |