NotFoundPage Component
Options to configure report of broken link on not found page.
| Option | Type | Default Value | Description | 
|---|---|---|---|
| content | ReactNode | 'Submit an issue about broken link' | Content of the link. | 
| labels | string | 'bug' | Labels that can be added to the new created issue. | 
| children | ReactNode | <H1>404: Page Not Found</H1> | Top content of page. | 
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