UNPKG

3.99 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 useRadioCardStyles: () => Record<string, import("../..").SystemStyleObject>;
6export { useRadioCardStyles };
7export interface RadioCardRootProviderBaseProps extends Assign<ArkRadioGroup.RootProviderBaseProps, SlotRecipeProps<"radioCard">>, UnstyledProp {
8}
9export interface RadioCardRootProviderProps extends HTMLChakraProps<"div", RadioCardRootProviderBaseProps> {
10}
11export declare const RadioCardRootProvider: import("react").ForwardRefExoticComponent<RadioCardRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
12export interface RadioCardRootBaseProps extends Assign<ArkRadioGroup.RootBaseProps, SlotRecipeProps<"radioCard">>, UnstyledProp {
13}
14export interface RadioCardRootProps extends HTMLChakraProps<"div", RadioCardRootBaseProps> {
15}
16export declare const RadioCardRoot: import("react").ForwardRefExoticComponent<RadioCardRootProps & import("react").RefAttributes<HTMLDivElement>>;
17export declare const RadioCardPropsProvider: React.Provider<RadioCardRootBaseProps>;
18export interface RadioCardLabelProps extends HTMLChakraProps<"div", ArkRadioGroup.LabelBaseProps> {
19}
20export declare const RadioCardLabel: import("react").ForwardRefExoticComponent<RadioCardLabelProps & import("react").RefAttributes<HTMLDivElement>>;
21export interface RadioCardItemProps extends HTMLChakraProps<"div", ArkRadioGroup.ItemBaseProps> {
22}
23export declare const RadioCardItem: import("react").ForwardRefExoticComponent<RadioCardItemProps & import("react").RefAttributes<HTMLDivElement>>;
24export interface RadioCardItemTextProps extends HTMLChakraProps<"span", ArkRadioGroup.ItemTextBaseProps> {
25}
26export declare const RadioCardItemText: import("react").ForwardRefExoticComponent<RadioCardItemTextProps & import("react").RefAttributes<HTMLSpanElement>>;
27export interface RadioCardItemDescriptionProps extends HTMLChakraProps<"div"> {
28}
29export declare const RadioCardItemDescription: import("react").ForwardRefExoticComponent<RadioCardItemDescriptionProps & import("react").RefAttributes<HTMLSpanElement>>;
30export interface RadioCardItemControlProps extends HTMLChakraProps<"div", ArkRadioGroup.ItemControlBaseProps> {
31}
32export declare const RadioCardItemControl: import("react").ForwardRefExoticComponent<RadioCardItemControlProps & import("react").RefAttributes<HTMLDivElement>>;
33export interface RadioCardItemContentProps extends HTMLChakraProps<"div"> {
34}
35export declare const RadioCardItemContent: import("react").ForwardRefExoticComponent<RadioCardItemContentProps & import("react").RefAttributes<HTMLDivElement>>;
36export interface RadioCardItemAddonProps extends HTMLChakraProps<"div"> {
37}
38export declare const RadioCardItemAddon: import("react").ForwardRefExoticComponent<RadioCardItemAddonProps & import("react").RefAttributes<HTMLElement>>;
39export interface RadioCardItemIndicatorProps extends HTMLChakraProps<"span"> {
40 checked?: React.ReactElement;
41}
42export declare const RadioCardItemIndicator: import("react").ForwardRefExoticComponent<RadioCardItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
43export interface RadioCardContextProps {
44 children: (context: UseRadioGroupContext) => JSX.Element;
45}
46export declare const RadioCardContext: React.FC<RadioCardContextProps>;
47export interface RadioCardItemContextProps {
48 children: (context: UseRadioGroupItemContext) => JSX.Element;
49}
50export declare const RadioCardItemContext: React.FC<RadioCardItemContextProps>;
51export declare const RadioCardItemHiddenInput: import("react").ForwardRefExoticComponent<ArkRadioGroup.ItemHiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
52export interface RadioCardValueChangeDetails extends ArkRadioGroup.ValueChangeDetails {
53}