UNPKG

2.9 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { RatingGroup as ArkRatingGroup } from "@ark-ui/react/rating-group";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useRatingGroupStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useRatingGroupStyles };
6export interface RatingGroupRootProviderBaseProps extends Assign<ArkRatingGroup.RootProviderBaseProps, SlotRecipeProps<"ratingGroup">>, UnstyledProp {
7}
8export interface RatingGroupRootProviderProps extends HTMLChakraProps<"div", RatingGroupRootProviderBaseProps> {
9}
10export declare const RatingGroupRootProvider: import("react").ForwardRefExoticComponent<RatingGroupRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface RatingGroupRootBaseProps extends Assign<ArkRatingGroup.RootBaseProps, SlotRecipeProps<"ratingGroup">>, UnstyledProp {
12}
13export interface RatingGroupRootProps extends HTMLChakraProps<"div", RatingGroupRootBaseProps> {
14}
15export declare const RatingGroupRoot: import("react").ForwardRefExoticComponent<RatingGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const RatingGroupPropsProvider: React.Provider<RatingGroupRootBaseProps>;
17export interface RatingGroupLabelProps extends HTMLChakraProps<"div", ArkRatingGroup.LabelBaseProps> {
18}
19export declare const RatingGroupLabel: import("react").ForwardRefExoticComponent<RatingGroupLabelProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface RatingGroupControlProps extends HTMLChakraProps<"div", ArkRatingGroup.ControlBaseProps> {
21}
22export declare const RatingGroupControl: import("react").ForwardRefExoticComponent<RatingGroupControlProps & import("react").RefAttributes<HTMLDivElement>>;
23export interface RatingGroupItemProps extends HTMLChakraProps<"div", ArkRatingGroup.ItemBaseProps> {
24}
25export declare const RatingGroupItem: import("react").ForwardRefExoticComponent<RatingGroupItemProps & import("react").RefAttributes<HTMLDivElement>>;
26export interface RatingGroupItemIndicatorProps extends HTMLChakraProps<"span"> {
27 icon?: React.ReactElement;
28}
29export declare const RatingGroupItemIndicator: import("react").ForwardRefExoticComponent<RatingGroupItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
30export declare const RatingGroupContext: (props: ArkRatingGroup.ContextProps) => import("react").ReactNode;
31export declare const RatingGroupItemContext: (props: ArkRatingGroup.ItemContextProps) => import("react").ReactNode;
32export declare const RatingGroupHiddenInput: import("react").ForwardRefExoticComponent<ArkRatingGroup.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
33export interface RatingGroupValueChangeDetails extends ArkRatingGroup.ValueChangeDetails {
34}
35export interface RatingGroupHoverChangeDetails extends ArkRatingGroup.HoverChangeDetails {
36}