react-code-dataset / next.js /packages /next /src /next-devtools /dev-overlay /components /dialog /dialog-body.tsx
Download next.js/packages/next/src/next-devtools/dev-overlay/components/dialog/dialog-body.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/next-devtools/dev-overlay/components/dialog/dialog-body.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/next-devtools/dev-overlay/components/dialog/dialog-body.tsx
-
curl -L -o dialog-body.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/next-devtools/dev-overlay/components/dialog/dialog-body.tsx
400 Bytes
| import * as React from 'react' | |
| export type DialogBodyProps = { | |
| children?: React.ReactNode | |
| className?: string | |
| } & React.HTMLAttributes<HTMLDivElement> | |
| const DialogBody: React.FC<DialogBodyProps> = function DialogBody({ | |
| children, | |
| className, | |
| ...props | |
| }) { | |
| return ( | |
| <div data-nextjs-dialog-body className={className} {...props}> | |
| {children} | |
| </div> | |
| ) | |
| } | |
| export { DialogBody } | |