UNPKG

@brizy/ui

Version:
12 lines (11 loc) 353 B
import { ReactElement } from "react"; import { IconsName } from "../../EditorIcon/types"; export type Props<T> = { title?: string; active: T; value: T; onChange: (v: T) => void; icon?: IconsName; label?: string; }; export declare const TabListItem: <T>({ title, active, value, onChange, icon, label }: Props<T>) => ReactElement;