@cerberus-design/react
Version:
The Cerberus Design React component library.
27 lines (26 loc) • 870 B
TypeScript
import { FieldsetRootProps } from './primitives';
/**
* This module contains the Fieldset component.
* @module Fieldset
*/
export interface FieldsetProps extends FieldsetRootProps {
/**
* The legend/title/label of the fieldset group.
*/
legend?: string;
/**
* The description text for the fieldset group.
*/
helperText?: string;
/**
* The error text for the fieldset group shown when the field is invalid.
*/
errorText?: string;
}
/**
* A component used for grouping related fields in a form that is an
* abstraction of the Fieldset primitives.
* @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)
* @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)
*/
export declare function Fieldset(props: FieldsetProps): import("react/jsx-runtime").JSX.Element;