mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
21 lines (20 loc) • 678 B
TypeScript
import type { ComponentProps, FC, PropsWithChildren } from 'react';
import type { DeepPartial, FlowbiteBoolean } from '../../';
export interface FlowbiteListGroupItemTheme {
base: string;
link: {
base: string;
active: FlowbiteBoolean;
href: FlowbiteBoolean;
icon: string;
};
}
export interface ListGroupItemProps extends PropsWithChildren {
active?: boolean;
disabled?: boolean;
href?: string;
icon?: FC<ComponentProps<'svg'>>;
onClick?: () => void;
theme?: DeepPartial<FlowbiteListGroupItemTheme>;
}
export declare const ListGroupItem: FC<ListGroupItemProps & ComponentProps<'a'> & ComponentProps<'button'>>;