UI: Fix props types of Root Toggle

This commit is contained in:
fuma-nama
2024-09-06 18:20:09 +08:00
parent 95f8cded27
commit 1a327cc276
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-ui': patch
---
Fix props types of Root Toggle
@@ -14,7 +14,7 @@ interface Option {
*/
url: string;
icon: ReactNode;
icon?: ReactNode;
title: ReactNode;
description: ReactNode;
}