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.

15 lines 630 B
import * as React from 'react'; import { type BaseUIComponentProps } from "../../utils/types.js"; /** * A heading that labels the dialog. * Renders an `<h2>` element. * * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog) */ export declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>; export interface DialogTitleProps extends BaseUIComponentProps<'h2', DialogTitle.State> {} export interface DialogTitleState {} export declare namespace DialogTitle { type Props = DialogTitleProps; type State = DialogTitleState; }