flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
10 lines (9 loc) • 388 B
TypeScript
/// <reference types="react" />
import type { FlowbiteRatingTheme } from "./Rating";
import type { FlowbiteStarSizes } from "./RatingStar";
export type RatingContext = {
theme: FlowbiteRatingTheme;
size?: keyof FlowbiteStarSizes;
};
export declare const RatingContext: import("react").Context<RatingContext | undefined>;
export declare function useRatingContext(): RatingContext;