Skip to content

Commit

Permalink
Example filenames for ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Williams committed Nov 3, 2024
1 parent d8b43f5 commit 17d59b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ To learn about using Server-Side Rendering with [Next.js](https://nextjs.org/doc

### Step 1: Create a Component for `DevIcon`

First, create a component that wraps `DevIcon`:
First, create a component that wraps `DevIcon` (example _app/devicon.tsx_):

```tsx app/devicon
```tsx
import { DevIcon } from "simple-react-devicon";

const DevIcon = () => {
Expand All @@ -116,9 +116,9 @@ export default DevIcon;

### Step 2: Import the Component into Your Pages

Next, import the newly created component into your pages:
Next, import the newly created component into your pages (example: _app/page.tsx_):

```tsx app/page.tsx
```tsx
import DevIcon from "./DevIcon";

export default function Page() {
Expand Down

0 comments on commit 17d59b5

Please sign in to comment.