Unverified Commit 983d1da8 authored by Jacob D. Castro's avatar Jacob D. Castro Committed by GitHub

[Docs]: minor typo in `jsx` file extension (#13451)

There was no period before `jsx` in the list of file types for pages. I added the period for consistency.
parent e2619359
...@@ -6,7 +6,7 @@ description: Next.js pages are React Components exported in a file in the pages ...@@ -6,7 +6,7 @@ description: Next.js pages are React Components exported in a file in the pages
> 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). > 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).
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. 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.
**Example**: If you create `pages/about.js` that exports a React component like below, it will be accessible at `/about`. **Example**: If you create `pages/about.js` that exports a React component like below, it will be accessible at `/about`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment