Download wp-calypso/packages/components/src/count/docs/example.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/count/docs/example.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/components/src/count/docs/example.jsx
-
curl -L -o example.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/count/docs/example.jsx
310 Bytes
| const count = () => { | |
| /* Because Count is wrapped in Localize we have to store the example in a string */ | |
| }; | |
| count.defaultProps = { | |
| exampleCode: | |
| '<div>' + | |
| '\n\t<Count count={ 65365 } />' + | |
| '\n\t<Count primary count={ 65366 } />' + | |
| '\n</div>', | |
| }; | |
| count.displayName = 'Count'; | |
| export default count; | |