material-you-react
Version:
Material You: Material You (M3) Design system and its components for simple integration with Next.Js or other react-based frameworks
14 lines (13 loc) • 320 B
TypeScript
type TabsDefaultProps<T = void> = {
label: string;
badge?: string;
active?: boolean;
onClickCallback: (params: T) => void;
};
export type PrimaryProps<T = void> = TabsDefaultProps<T> & {
icon: string;
};
export type SecondaryProps<T = void> = TabsDefaultProps<T> & {
icon?: string;
};
export {};