UNPKG

pagamio-frontend-commons-lib

Version:

Pagamio library for Frontend reusable components like the form engine and table container

18 lines (17 loc) 581 B
interface TabItem { id: number; title: string; content: React.ReactNode; } interface ContainedTabProps { tabs: TabItem[]; activeTab?: number; onTabChange?: (index: number) => void; className?: string; /** Title to display above the tabs */ title?: string; /** Optional description text below the title */ description?: string; } declare const ContainedTab: ({ tabs, activeTab: controlledActiveTab, onTabChange, className, title, description, }: ContainedTabProps) => import("react/jsx-runtime").JSX.Element; export default ContainedTab;