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'