Skip to content

Commit 7b0c1f6

Browse files
committed
docs: (library) update README links to point to the main branch
1 parent 82a1287 commit 7b0c1f6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

library/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const Page = () => {
175175

176176
**Options**:
177177

178-
- `fileName` (`string`): The name of the file (e.g., "example.ts", "index.html"). [The full list of extensions can be found here](https://github.com/pheralb/react-symbols/blob/next/library/src/utils/extensions/fileExtensionIcons.tsx). If does not match any file name or extension, the `DefaultFileIcon` component will be used.
178+
- `fileName` (`string`): The name of the file (e.g., "example.ts", "index.html"). [The full list of extensions can be found here](https://github.com/pheralb/react-symbols/blob/main/library/src/utils/extensions/fileExtensionIcons.tsx). If does not match any file name or extension, the `DefaultFileIcon` component will be used.
179179

180180
```tsx
181181
import { FileIcon } from "@react-symbols/icons/utils";
@@ -224,7 +224,7 @@ const Page = () => {
224224
return (
225225
<main>
226226
{getIconForFolder({
227-
folderName: "github",
227+
folderName: "node_modules",
228228
})}
229229
</main>
230230
);
@@ -239,15 +239,15 @@ import { FolderIcon } from "@react-symbols/icons/utils";
239239
const Page = () => {
240240
return (
241241
<main>
242-
<FolderIcon folderName="github" />
242+
<FolderIcon folderName="node_modules" />
243243
</main>
244244
);
245245
};
246246
```
247247

248248
**Options**:
249249

250-
- `folderName` (`string`): The name of the folder (e.g., "src", "config"). [The full list of folder names can be found here](https://github.com/pheralb/react-symbols/blob/next/library/src/utils/extensions/folderNameIcons.tsx). If does not match any folder name, the `DefaultFolderIcon` component will be used.
250+
- `folderName` (`string`): The name of the folder (e.g., "src", "config"). [The full list of folder names can be found here](https://github.com/pheralb/react-symbols/blob/main/library/src/utils/extensions/folderNameIcons.tsx). If does not match any folder name, the `DefaultFolderIcon` component will be used.
251251

252252
```tsx
253253
import { FolderIcon } from "@react-symbols/icons/utils";

0 commit comments

Comments
 (0)