Download wp-calypso/client/layout/hosting-dashboard/body.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/hosting-dashboard/body.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/layout/hosting-dashboard/body.tsx
-
curl -L -o body.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/hosting-dashboard/body.tsx
408 Bytes
| import clsx from 'clsx'; | |
| import { ReactNode } from 'react'; | |
| type Props = { | |
| children: ReactNode; | |
| className?: string; | |
| }; | |
| export default function LayoutBody( { children, className }: Props ) { | |
| const wrapperClass = clsx( className, 'hosting-dashboard-layout__body' ); | |
| return ( | |
| <div className={ wrapperClass }> | |
| <div className="hosting-dashboard-layout__body-wrapper">{ children }</div> | |
| </div> | |
| ); | |
| } | |