NotFoundPage Component
Options to configure report of broken link on not found page.
Props
| Name | Type | Default | 
|---|---|---|
content | ReactNodeContent of the link.  | 'Submit an issue about broken link' | 
labels | stringLabels that can be added to the newly created issue.  | 'bug' | 
children | ReactNodeTop content of the page.  | <H1>404: Page Not Found</H1> | 
className | stringCSS class name.  | 
Example
app/not-found.jsx
import { NotFoundPage } from 'nextra-theme-docs'
 
export default function NotFound() {
  return (
    <NotFoundPage content="Submit an issue" labels="broken-link">
      <h1>The page is not found</h1>
    </NotFoundPage>
  )
}Last updated on