Download chakra-ui/apps/compositions/src/examples/avatar-basic.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/apps/compositions/src/examples/avatar-basic.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/apps/compositions/src/examples/avatar-basic.tsx
-
curl -L -o avatar-basic.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/apps/compositions/src/examples/avatar-basic.tsx
236 Bytes
| import { Avatar } from "@chakra-ui/react" | |
| export const AvatarBasic = () => { | |
| return ( | |
| <Avatar.Root> | |
| <Avatar.Fallback name="Segun Adebayo" /> | |
| <Avatar.Image src="https://bit.ly/sage-adebayo" /> | |
| </Avatar.Root> | |
| ) | |
| } | |