From 38bf57cbaa2391e508fdb057399dc535fb16dffa Mon Sep 17 00:00:00 2001 From: soykje Date: Wed, 21 Feb 2024 13:57:51 +0100 Subject: [PATCH] refactor(tabs): improve Tabs List types --- packages/components/tabs/src/TabsList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/tabs/src/TabsList.tsx b/packages/components/tabs/src/TabsList.tsx index 5c9b188da..9dda32ce0 100644 --- a/packages/components/tabs/src/TabsList.tsx +++ b/packages/components/tabs/src/TabsList.tsx @@ -20,7 +20,7 @@ export interface TabsListProps extends Omit * @default false */ loop?: boolean - children: ReactElement[] + children: ReactElement[] | ReactElement } type ArrowState = 'visible' | 'hidden' | 'disabled'