@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.
15 lines • 619 B
TypeScript
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<DialogTitleProps & React.RefAttributes<HTMLParagraphElement>>;
export interface DialogTitleProps extends BaseUIComponentProps<'h2', DialogTitle.State> {}
export interface DialogTitleState {}
export declare namespace DialogTitle {
type Props = DialogTitleProps;
type State = DialogTitleState;
}