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.

17 lines (16 loc) 575 B
import * as React from 'react'; import type { BaseUIComponentProps } from '../../utils/types.js'; /** * A heading that labels the popover. * Renders an `<h2>` element. * * Documentation: [Base UI Popover](https://base-ui.com/react/components/popover) */ declare const PopoverTitle: React.ForwardRefExoticComponent<PopoverTitle.Props & React.RefAttributes<HTMLHeadingElement>>; declare namespace PopoverTitle { interface State { } interface Props extends BaseUIComponentProps<'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6', State> { } } export { PopoverTitle };