Download next.js/test/e2e/app-dir/actions/app/delayed-action/context.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions/app/delayed-action/context.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/actions/app/delayed-action/context.tsx
-
curl -L -o context.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions/app/delayed-action/context.tsx
172 Bytes
| import React from 'react' | |
| export const DataContext = React.createContext<{ | |
| data: number | null | |
| setData: (number: number) => void | |
| }>({ data: null, setData: () => {} }) | |