Download wp-calypso/client/components/clipboard-button-input/docs/example.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/clipboard-button-input/docs/example.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/clipboard-button-input/docs/example.jsx
-
curl -L -o example.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/clipboard-button-input/docs/example.jsx
292 Bytes
| import { PureComponent } from 'react'; | |
| import ClipboardButtonInput from '../'; | |
| export default class extends PureComponent { | |
| static displayName = 'ClipboardButtonInput'; | |
| render() { | |
| return ( | |
| <div> | |
| <ClipboardButtonInput value="https://example.wordpress.com/" /> | |
| </div> | |
| ); | |
| } | |
| } | |