UNPKG

3.27 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { RadioGroup as ArkRadioGroup, type UseRadioGroupContext, type UseRadioGroupItemContext } from "@ark-ui/react/radio-group";
3import type { JSX } from "react";
4import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
5declare const useRadioGroupStyles: () => Record<string, import("../..").SystemStyleObject>;
6export { useRadioGroupStyles };
7export interface RadioGroupRootProviderBaseProps extends Assign<ArkRadioGroup.RootProviderBaseProps, SlotRecipeProps<"radioGroup">>, UnstyledProp {
8}
9export interface RadioGroupRootProviderProps extends HTMLChakraProps<"div", RadioGroupRootProviderBaseProps> {
10}
11export declare const RadioGroupRootProvider: import("react").ForwardRefExoticComponent<RadioGroupRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
12export interface RadioGroupRootBaseProps extends Assign<ArkRadioGroup.RootBaseProps, SlotRecipeProps<"radioGroup">>, UnstyledProp {
13}
14export interface RadioGroupRootProps extends HTMLChakraProps<"div", RadioGroupRootBaseProps> {
15}
16export declare const RadioGroupRoot: import("react").ForwardRefExoticComponent<RadioGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
17export declare const RadioGroupPropsProvider: React.Provider<RadioGroupRootBaseProps>;
18export interface RadioGroupLabelProps extends HTMLChakraProps<"div", ArkRadioGroup.LabelBaseProps> {
19}
20export declare const RadioGroupLabel: import("react").ForwardRefExoticComponent<RadioGroupLabelProps & import("react").RefAttributes<HTMLDivElement>>;
21export interface RadioGroupItemProps extends HTMLChakraProps<"div", ArkRadioGroup.ItemBaseProps> {
22}
23export declare const RadioGroupItem: import("react").ForwardRefExoticComponent<RadioGroupItemProps & import("react").RefAttributes<HTMLDivElement>>;
24export interface RadioGroupItemTextProps extends HTMLChakraProps<"span", ArkRadioGroup.ItemTextBaseProps> {
25}
26export declare const RadioGroupItemText: import("react").ForwardRefExoticComponent<RadioGroupItemTextProps & import("react").RefAttributes<HTMLSpanElement>>;
27export interface RadioGroupItemControlProps extends HTMLChakraProps<"div", ArkRadioGroup.ItemControlBaseProps> {
28}
29export declare const RadioGroupItemControl: import("react").ForwardRefExoticComponent<RadioGroupItemControlProps & import("react").RefAttributes<HTMLDivElement>>;
30export interface RadioGroupItemIndicatorProps extends HTMLChakraProps<"span"> {
31}
32export declare const RadioGroupItemIndicator: import("react").ForwardRefExoticComponent<RadioGroupItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
33export interface RadioGroupContextProps {
34 children: (context: UseRadioGroupContext) => JSX.Element;
35}
36export declare const RadioGroupContext: React.FC<RadioGroupContextProps>;
37export interface RadioGroupItemContextProps {
38 children: (context: UseRadioGroupItemContext) => JSX.Element;
39}
40export declare const RadioGroupItemContext: React.FC<RadioGroupItemContextProps>;
41export declare const RadioGroupItemHiddenInput: import("react").ForwardRefExoticComponent<ArkRadioGroup.ItemHiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
42export interface RadioGroupValueChangeDetails extends ArkRadioGroup.ValueChangeDetails {
43}