UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

18 lines (17 loc) 655 B
import type { ComponentProps, FC } from "react"; import type { DeepPartial, DynamicStringEnumKeysOf } from "../../types"; import type { FlowbiteRatingStarTheme, FlowbiteStarSizes } from "./RatingStar"; export interface FlowbiteRatingTheme { root: { base: string; }; star: FlowbiteRatingStarTheme; } export interface RatingProps extends ComponentProps<"div"> { size?: DynamicStringEnumKeysOf<FlowbiteStarSizes>; theme?: DeepPartial<FlowbiteRatingTheme>; } export declare const Rating: FC<RatingProps> & { Star: FC<import("./RatingStar").RatingStarProps>; Advanced: FC<import("./RatingAdvanced").RatingAdvancedProps>; };