rsnext/examples/active-class-name/pages/news.tsx
Henrik Wenz 7f9fe8ca30
chore: Refactor active-class-name example (#40670)
## Changes

- Migrated missing file to typescript

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-09-19 11:23:42 -07:00

10 lines
140 B
TypeScript

import Nav from '../components/Nav'
const News = () => (
<>
<Nav />
<p>Hello, I'm the news page</p>
</>
)
export default News