UNPKG

@base-ui/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 632 B
import type * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * A heading that labels the drawer. * Renders an `<h2>` element. * * Documentation: [Base UI Drawer](https://base-ui.com/react/components/drawer) */ export declare const DrawerTitle: DrawerTitle; export interface DrawerTitleProps extends BaseUIComponentProps<'h2', DrawerTitle.State> {} export interface DrawerTitleState {} export interface DrawerTitle { (componentProps: DrawerTitleProps): React.JSX.Element; } export declare namespace DrawerTitle { type Props = DrawerTitleProps; type State = DrawerTitleState; }