flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
20 lines (19 loc) • 704 B
TypeScript
import type { ComponentProps, FC } from "react";
import type { DeepPartial } from "../../types";
import type { FlowbiteColors } from "../Flowbite";
export interface FlowbiteHelperTextTheme {
root: FlowbiteHelperTextRootTheme;
}
export interface FlowbiteHelperTextRootTheme {
base: string;
colors: HelperColors;
}
export interface HelperColors extends Pick<FlowbiteColors, "gray" | "info" | "failure" | "warning" | "success"> {
[key: string]: string;
}
export interface HelperTextProps extends Omit<ComponentProps<"p">, "color"> {
color?: keyof HelperColors;
theme?: DeepPartial<FlowbiteHelperTextTheme>;
value?: string;
}
export declare const HelperText: FC<HelperTextProps>;