mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
22 lines (21 loc) • 686 B
TypeScript
import type { ComponentProps, FC, PropsWithChildren } from 'react';
import type { DeepPartial, FlowbiteStateColors } from '../../';
export interface FlowbiteLabelTheme {
root: FlowbiteLabelRootTheme;
}
export interface FlowbiteLabelRootTheme {
base: string;
colors: LabelColors;
disabled: string;
}
export interface LabelColors extends FlowbiteStateColors {
[key: string]: string;
default: string;
}
export interface LabelProps extends PropsWithChildren<Omit<ComponentProps<'label'>, 'color'>> {
color?: keyof LabelColors;
disabled?: boolean;
theme?: DeepPartial<FlowbiteLabelTheme>;
value?: string;
}
export declare const Label: FC<LabelProps>;