Download chakra-ui/apps/compositions/src/examples/alert-basic.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/apps/compositions/src/examples/alert-basic.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/apps/compositions/src/examples/alert-basic.tsx
-
curl -L -o alert-basic.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/chakra-ui/apps/compositions/src/examples/alert-basic.tsx
257 Bytes
| import { Alert } from "@chakra-ui/react" | |
| export const AlertBasic = () => { | |
| return ( | |
| <Alert.Root status="info" title="This is the alert title"> | |
| <Alert.Indicator /> | |
| <Alert.Title>This is the alert title</Alert.Title> | |
| </Alert.Root> | |
| ) | |
| } | |