@brizy/ui
Version:
React elements in Brizy style
12 lines (11 loc) • 411 B
TypeScript
import { ReactElement } from "react";
import { Props as TabProps } from "./Tab";
export type Props<T> = {
onChange: (v: T) => void;
className?: string;
active: T;
align: "start" | "center" | "end";
position: "top" | "left";
children: ReactElement<TabProps<T>>[];
};
export declare const TabList: <T>({ className, active, onChange, align, position, children }: Props<T>) => ReactElement;