Download wp-calypso/client/components/action-panel/index.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/action-panel/index.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/action-panel/index.jsx
-
curl -L -o index.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/action-panel/index.jsx
270 Bytes
| import { Card } from '@automattic/components'; | |
| import clsx from 'clsx'; | |
| import './style.scss'; | |
| const ActionPanel = ( { children, className = '' } ) => { | |
| return <Card className={ clsx( 'action-panel', className ) }>{ children }</Card>; | |
| }; | |
| export default ActionPanel; | |