UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

17 lines (16 loc) 570 B
import type { ComponentProps, FC } from 'react'; import type { DeepPartial, FlowbiteSizes } from '../../'; export interface FlowbiteRatingStarTheme { empty: string; filled: string; sizes: FlowbiteStarSizes; } export interface FlowbiteStarSizes extends Pick<FlowbiteSizes, 'sm' | 'md' | 'lg'> { [key: string]: string; } export interface RatingStarProps extends ComponentProps<'svg'> { filled?: boolean; starIcon?: FC<ComponentProps<'svg'>>; theme?: DeepPartial<FlowbiteRatingStarTheme>; } export declare const RatingStar: FC<RatingStarProps>;