Download chakra-ui/sandbox/vite-jsx/src/components/ui/provider.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 284 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/chakra-ui/sandbox/vite-jsx/src/components/ui/provider.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/chakra-ui/sandbox/vite-jsx/src/components/ui/provider.jsx
-
curl -L -o provider.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/chakra-ui/sandbox/vite-jsx/src/components/ui/provider.jsx
284 Bytes
| "use client" | |
| import { ChakraProvider, defaultSystem } from "@chakra-ui/react" | |
| import { ColorModeProvider } from "./color-mode" | |
| export function Provider(props) { | |
| return ( | |
| <ChakraProvider value={defaultSystem}> | |
| <ColorModeProvider {...props} /> | |
| </ChakraProvider> | |
| ) | |
| } | |