import { LegendProps } from './types/Legend.props.ts'; import { NamedExoticComponent, RefAttributes } from 'react'; /** * A thin wrapper around the native `` element. * * `Legend` provides the accessible name for a `Fieldset`. Screen readers * announce the legend text when the user enters or focuses controls inside * the fieldset, so the group purpose is always clear. * * @example * ```tsx *
* Notification preferences * * *
* ``` */ declare const Legend: NamedExoticComponent & RefAttributes>; export default Legend;