Skip to content

Commit

Permalink
Merge pull request #54 from JamesSingleton/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPhamous authored Nov 9, 2023
2 parents 7db2272 + 1ee8a9a commit e0313dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/next/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install geist

### Using with Next.js

`geist/font` exports `GeistSans` and `GeistMono`. Both are `NextFontWithVariable` instances. You can learn more by [reading the `next/font` docs](https://nextjs.org/docs/app/building-your-application/optimizing/fonts).
`GeistSans` is exported from `geist/font/sans`, and `GeistMono` can be found in `geist/font/mono`. Both are `NextFontWithVariable` instances. You can learn more by [reading the `next/font` docs](https://nextjs.org/docs/app/building-your-application/optimizing/fonts).

#### App Router

Expand Down Expand Up @@ -64,7 +64,8 @@ In `app/layout.js`:


```jsx
import { GeistSans, GeistMono } from 'geist/font/sans'
import { GeistSans } from 'geist/font/sans'
import { GeistMono } from 'geist/font/mono'

export default function RootLayout({
children,
Expand Down

0 comments on commit e0313dd

Please sign in to comment.