@lunalytics/ui
Version:
React based component library created to be used in Lunalytics
20 lines (19 loc) • 515 B
TypeScript
import { GlobalVariants } from '../global.types';
export interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
id?: string;
label?: string;
description?: string;
shortDescription?: string;
options: Array<{
value: string;
color?: string;
variant?: GlobalVariants;
}>;
theme?: 'light' | 'dark';
activeOption?: string;
tabIndex?: number;
handleChange: (value: string) => void;
color?: string;
variant?: string;
error?: string;
}