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 659 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * An accessible label that is automatically associated with the fieldset. * Renders a `<div>` element. * * Documentation: [Base UI Fieldset](https://base-ui.com/react/components/fieldset) */ export declare const FieldsetLegend: React.ForwardRefExoticComponent<FieldsetLegend.Props & React.RefAttributes<HTMLDivElement>>; export declare namespace FieldsetLegend { interface State { /** * Whether the component should ignore user interaction. */ disabled: boolean; } interface Props extends BaseUIComponentProps<'div', State> {} }