@brizy/ui
Version:
React elements in Brizy style
12 lines (11 loc) • 353 B
TypeScript
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;