Download wp-calypso/client/components/action-panel/cta.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/action-panel/cta.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/action-panel/cta.tsx
-
curl -L -o cta.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/action-panel/cta.tsx
296 Bytes
| import clsx from 'clsx'; | |
| import type { PropsWithChildren } from 'react'; | |
| const ActionPanelCta = ( { children, className }: PropsWithChildren< { className?: string } > ) => { | |
| return <div className={ clsx( 'action-panel__cta', className ) }>{ children }</div>; | |
| }; | |
| export default ActionPanelCta; | |