mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
15 lines (14 loc) • 690 B
TypeScript
import type { ComponentProps, FC, PropsWithChildren } from 'react';
import type { DeepPartial, FlowbiteColors } from '../../';
export interface FlowbiteSidebarCTATheme {
base: string;
color: FlowbiteSidebarCTAColors;
}
export interface SidebarCTAProps extends PropsWithChildren, 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>;