Skip to content

Commit a8ba962

Browse files
committed
Restrict tab label to string
1 parent f6d2025 commit a8ba962

File tree

1 file changed

+1
-1
lines changed
  • packages/circuit-ui/components/Tabs

1 file changed

+1
-1
lines changed

packages/circuit-ui/components/Tabs/Tabs.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface TabsProps extends TabListProps {
3939
*/
4040
items: {
4141
id: string;
42-
tab: ReactNode;
42+
tab: string;
4343
panel: ReactNode;
4444
}[];
4545
}

0 commit comments

Comments
 (0)