UNPKG

1.64 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Fieldset } from "@ark-ui/react/fieldset";
3import { type HTMLChakraProps, type SlotRecipeProps } from "../../styled-system";
4interface FieldsetRootBaseProps extends Assign<Fieldset.RootBaseProps, SlotRecipeProps<"fieldset">> {
5}
6export interface FieldsetRootProps extends HTMLChakraProps<"fieldset", FieldsetRootBaseProps> {
7}
8export declare const FieldsetRoot: import("react").ForwardRefExoticComponent<FieldsetRootProps & import("react").RefAttributes<HTMLFieldSetElement>>;
9export interface FieldsetErrorTextProps extends HTMLChakraProps<"span", Fieldset.ErrorTextBaseProps> {
10}
11export declare const FieldsetErrorText: import("react").ForwardRefExoticComponent<FieldsetErrorTextProps & import("react").RefAttributes<HTMLSpanElement>>;
12export interface FieldsetHelperTextProps extends HTMLChakraProps<"span", Fieldset.HelperTextBaseProps> {
13}
14export declare const FieldsetHelperText: import("react").ForwardRefExoticComponent<FieldsetHelperTextProps & import("react").RefAttributes<HTMLSpanElement>>;
15export interface FieldsetLegendProps extends HTMLChakraProps<"legend", Fieldset.LegendBaseProps> {
16}
17export declare const FieldsetLegend: import("react").ForwardRefExoticComponent<FieldsetLegendProps & import("react").RefAttributes<HTMLLegendElement>>;
18export interface FieldsetContentProps extends HTMLChakraProps<"div"> {
19}
20export declare const FieldsetContent: import("react").ForwardRefExoticComponent<FieldsetContentProps & import("react").RefAttributes<HTMLDivElement>>;
21export declare const FieldsetContext: (props: Fieldset.ContextProps) => import("react").ReactNode;
22export {};