UNPKG

hoda-react

Version:

<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <

30 lines (29 loc) 849 B
import type { ComponentProps, FC, PropsWithChildren } from 'react'; import type { FlowbiteSizes } from '../Flowbite/FlowbiteTheme'; export interface FlowbiteRatingTheme { base: string; star: { sizes: StarSizes; filled: string; empty: string; }; advanced: { base: string; label: string; progress: { base: string; fill: string; label: string; }; }; } export interface StarSizes extends Pick<FlowbiteSizes, 'sm' | 'md' | 'lg'> { [key: string]: string; } export interface RatingProps extends PropsWithChildren<ComponentProps<'div'>> { size?: keyof StarSizes; } export declare const Rating: FC<RatingProps> & { Star: FC<import("./RatingStar").RatingStarProps>; Advanced: FC<import("./RatingAdvanced").RatingAdvancedProps>; };