@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.
18 lines • 579 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps } from "../../utils/types.js";
/**
* A title that labels the toast.
* Renders an `<h2>` element.
*
* Documentation: [Base UI Toast](https://base-ui.com/react/components/toast)
*/
export declare const ToastTitle: React.ForwardRefExoticComponent<ToastTitle.Props & React.RefAttributes<HTMLHeadingElement>>;
export declare namespace ToastTitle {
interface State {
/**
* The type of the toast.
*/
type: string | undefined;
}
interface Props extends BaseUIComponentProps<'h2', State> {}
}