From 5d1ea19296bbf2f2a79a9f101d12afe46a0d20af Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 19 Jan 2024 12:42:48 +0100 Subject: [PATCH] fix(components): pass className prop to tab panels wrapper --- src/components/tab/tab-panels.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/tab/tab-panels.tsx b/src/components/tab/tab-panels.tsx index 1f5be1d1..bc8aa377 100644 --- a/src/components/tab/tab-panels.tsx +++ b/src/components/tab/tab-panels.tsx @@ -3,8 +3,9 @@ import { Tab as HeadlessTab } from "@headlessui/react"; export interface TabPanelsProps { children: React.ReactNode; + className?: string; } -export const TabPanels = ({ children }: TabPanelsProps) => { - return {children}; +export const TabPanels = ({ children, className }: TabPanelsProps) => { + return {children}; };