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.

21 lines (20 loc) 687 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) */ declare const FieldsetRoot: React.ForwardRefExoticComponent<FieldsetRoot.Props & React.RefAttributes<HTMLFieldSetElement>>; declare namespace FieldsetRoot { type State = { /** * Whether the component should ignore user interaction. */ disabled: boolean; }; interface Props extends BaseUIComponentProps<'fieldset', State> { } } export { FieldsetRoot };