Download spa-github-pages/src/components/PageNotFound.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spa-github-pages/src/components/PageNotFound.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spa-github-pages/src/components/PageNotFound.tsx
-
curl -L -o PageNotFound.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spa-github-pages/src/components/PageNotFound.tsx
341 Bytes
| import * as React from 'react'; | |
| import { P } from '../ui/Paragraph'; | |
| interface PageNotFoundProps { | |
| location: { pathname: 'string' }; | |
| } | |
| export const PageNotFound: React.VFC<PageNotFoundProps> = ({ location }) => ( | |
| <P> | |
| Page not found - the path, <code>{location.pathname}</code>, did not match | |
| any React Router routes. | |
| </P> | |
| ); | |