Skip to content

Commit 983d1da

Browse files
author
Jacob D. Castro
authored
[Docs]: minor typo in jsx file extension (vercel#13451)
There was no period before `jsx` in the list of file types for pages. I added the period for consistency.
1 parent e261935 commit 983d1da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basic-features/pages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Next.js pages are React Components exported in a file in the pages
66

77
> This document is for Next.js versions 9.3 and up. If you're using older versions of Next.js, refer to our [previous documentation](https://nextjs.org/docs/tag/v9.2.2/basic-features/pages).
88
9-
In Next.js, a **page** is a [React Component](https://reactjs.org/docs/components-and-props.html) exported from a `.js`, `jsx`, `.ts`, or `.tsx` file in the `pages` directory. Each page is associated with a route based on its file name.
9+
In Next.js, a **page** is a [React Component](https://reactjs.org/docs/components-and-props.html) exported from a `.js`, `.jsx`, `.ts`, or `.tsx` file in the `pages` directory. Each page is associated with a route based on its file name.
1010

1111
**Example**: If you create `pages/about.js` that exports a React component like below, it will be accessible at `/about`.
1212

0 commit comments

Comments
 (0)