flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
16 lines (15 loc) • 692 B
TypeScript
import type { ComponentProps, FC } from "react";
import type { DeepPartial } from "../../types";
import type { FlowbiteColors } from "../Flowbite";
export interface FlowbiteSidebarCTATheme {
base: string;
color: FlowbiteSidebarCTAColors;
}
export interface SidebarCTAProps extends Omit<ComponentProps<"div">, "color"> {
color?: keyof FlowbiteSidebarCTAColors;
theme?: DeepPartial<FlowbiteSidebarCTATheme>;
}
export interface FlowbiteSidebarCTAColors extends Pick<FlowbiteColors, "blue" | "dark" | "failure" | "gray" | "green" | "light" | "purple" | "red" | "success" | "warning" | "yellow"> {
[key: string]: string;
}
export declare const SidebarCTA: FC<SidebarCTAProps>;