UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

18 lines 640 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * Groups the fieldset legend and the associated fields. * Renders a `<fieldset>` element. * * Documentation: [Base UI Fieldset](https://base-ui.com/react/components/fieldset) */ export declare const FieldsetRoot: React.ForwardRefExoticComponent<FieldsetRoot.Props & React.RefAttributes<HTMLElement>>; export declare namespace FieldsetRoot { type State = { /** * Whether the component should ignore user interaction. */ disabled: boolean; }; interface Props extends BaseUIComponentProps<'fieldset', State> {} }