Skip to content

Commit 934ea52

Browse files
committed
fix(docs): missing fileName
1 parent 7daefe7 commit 934ea52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/docs/src/app/(main)/(markdown)/customization/material-symbols

apps/docs/src/app/(main)/(markdown)/customization/material-symbols/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ keywords: [icon, symbol, material, fonts, google]
1919
The easiest way to use Material Symbols with next.js is to create a list of
2020
used symbol names and add it to a layout's metadata:
2121

22-
```diff src/app/layout.tsx
22+
```diff fileName="src/app/layout.tsx"
2323
import { RootHtml } from "@react-md/core/RootHtml";
2424
+import { getMaterialSymbolsUrl } from "@react-md/core/icon/getMaterialSymbolsUrl";
2525
+import { type MaterialSymbolName } from "@react-md/core/icon/material";
@@ -67,7 +67,7 @@ extracts the material symbol name from the `name` prop.
6767
npm install -D @react-md/vite-material-symbols-plugin
6868
```
6969

70-
```diff
70+
```diff fileName="vite.config.ts"
7171
import { resolve } from 'node:path'
7272
import { defineConfig } from 'vite'
7373
import react from '@vitejs/plugin-react-swc'

0 commit comments

Comments
 (0)