flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
9 lines (8 loc) • 456 B
text/typescript
import type { DynamicStringEnumKeysOf, ThemingProps } from "../../types";
import type { RatingTheme } from "./Rating";
import type { RatingStarSizes } from "./RatingStar";
export interface RatingContextValue extends ThemingProps<RatingTheme> {
size?: DynamicStringEnumKeysOf<RatingStarSizes>;
}
export declare const RatingContext: import("react").Context<RatingContextValue | undefined>;
export declare function useRatingContext(): RatingContextValue;