Download wp-calypso/client/components/action-panel/link.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/action-panel/link.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/action-panel/link.jsx
-
curl -L -o link.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/action-panel/link.jsx
263 Bytes
| import clsx from 'clsx'; | |
| const ActionPanelLink = ( { children = undefined, href, className = '' } ) => { | |
| return ( | |
| <a href={ href } className={ clsx( 'action-panel__body-text-link', className ) }> | |
| { children } | |
| </a> | |
| ); | |
| }; | |
| export default ActionPanelLink; | |