@clubmed/trident-ui
Version:
Shared ClubMed React UI components
18 lines (17 loc) • 426 B
TypeScript
import { type FunctionComponent, type PropsWithChildren } from 'react';
interface Props {
className?: string;
/**
* Tab panel index<br/>
* _Can be **0** or **1** indexed_
*/
value: number;
/**
* on panel select handler
*/
onSelect?: (context: {
value: Props['value'];
}) => void;
}
export declare const TabPanel: FunctionComponent<PropsWithChildren<Props>>;
export {};