Skip to content

Commit 353ee5e

Browse files
authored
Merge pull request #361 from r3m00n/patch-1
add .tsx to file names
2 parents 2b71038 + 5c40a2c commit 353ee5e

File tree

1 file changed

+2
-2
lines changed
  • apps/docs/src/content/docs/getting-started

1 file changed

+2
-2
lines changed

apps/docs/src/content/docs/getting-started/icons.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ import { Aside, Code, Steps } from '@astrojs/starlight/components';
8181

8282
**Sun**
8383

84-
<Code title="~/lib/icons/Sun" lang="tsx" code={`
84+
<Code title="~/lib/icons/Sun.tsx" lang="tsx" code={`
8585
import { Sun } from 'lucide-react-native';
8686
import { iconWithClassName } from './iconWithClassName';
8787
iconWithClassName(Sun);
8888
export { Sun };`} />
8989

9090
**MoonStar**
9191

92-
<Code title="~/lib/icons/MoonStar" lang="tsx" code={`
92+
<Code title="~/lib/icons/MoonStar.tsx" lang="tsx" code={`
9393
import { MoonStar } from 'lucide-react-native';
9494
import { iconWithClassName } from './iconWithClassName';
9595
iconWithClassName(MoonStar);

0 commit comments

Comments
 (0)