"use client"; import generateId from "../../utils/generateId"; export interface TabPanelProps extends React.HTMLAttributes { /** Optional href for the tab */ href?: string; /** Tabpanel id */ id?: string; /** Active state */ isActive?: boolean; /** Whether the tab is disabled */ isDisabled?: boolean; /** Tab content/label */ tab?: React.ReactNode; /** Custom render function for tab */ renderTab?: (props: TabPanelProps) => React.ReactElement; /** Additional class names */ className?: string; /** Children components */ children?: React.ReactNode; } const TabPanel: React.FC = ({ children, isActive, id, href, isDisabled, ...other }) => { const currentId = id || generateId(); return ( ); }; TabPanel.displayName = "TabPanel"; export { TabPanel };