Skip to content

Commit

Permalink
UI: Fix props types of Root Toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Sep 6, 2024
1 parent 95f8cde commit 1a327cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-carrots-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fumadocs-ui': patch
---

Fix props types of Root Toggle
2 changes: 1 addition & 1 deletion packages/ui/src/components/layout/root-toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface Option {
*/
url: string;

icon: ReactNode;
icon?: ReactNode;
title: ReactNode;
description: ReactNode;
}
Expand Down

0 comments on commit 1a327cc

Please sign in to comment.