seti-ramesesv1
Version:
Reusable components and context for Next.js apps
14 lines (13 loc) • 393 B
TypeScript
export type TabItem = {
id: string;
label: string;
hidden?: boolean;
};
type TabListProps = {
items: TabItem[];
activeItem?: string;
orientation?: "horizontal" | "vertical";
openItem?: (item: TabItem) => void;
};
declare const TabList: ({ items, activeItem, orientation, openItem }: TabListProps) => import("react/jsx-runtime").JSX.Element;
export default TabList;