@cerberus-design/react
Version:
The Cerberus Design React component library.
13 lines (12 loc) • 1.52 kB
TypeScript
import { Fieldset, FieldsetHelperTextProps as ArkFieldsetHelperText, FieldsetLegendProps as ArkFieldsetLegendProps, FieldsetRootProps as ArkFieldsetRootProps } from '@ark-ui/react/fieldset';
import { FieldsetVariantProps } from 'styled-system/recipes';
import { CerberusPrimitiveProps } from '../../system/index';
import { ForwardRefExoticComponent, RefAttributes } from 'react';
export declare const FieldsetRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Fieldset.RootProps & RefAttributes<HTMLFieldSetElement>>, "ref"> & RefAttributes<unknown>>;
export type FieldsetRootProps = CerberusPrimitiveProps<ArkFieldsetRootProps & FieldsetVariantProps>;
export type FieldsetLegendProps = CerberusPrimitiveProps<ArkFieldsetLegendProps & FieldsetVariantProps>;
export declare const FieldsetLegend: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Fieldset.LegendProps & RefAttributes<HTMLLegendElement>>, "ref"> & RefAttributes<unknown>>;
export type FieldsetHelperTextProps = CerberusPrimitiveProps<ArkFieldsetHelperText & FieldsetVariantProps>;
export declare const FieldsetHelperText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Fieldset.HelperTextProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<unknown>>;
export type FieldsetErrorTextProps = CerberusPrimitiveProps<ArkFieldsetHelperText>;
export declare const FieldsetErrorText: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Fieldset.ErrorTextProps & RefAttributes<HTMLSpanElement>>, "ref"> & RefAttributes<unknown>>;