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.

21 lines 808 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../utils/types.js"; /** * A description that describes the toast. * Can be used as the default message for the toast when no title is provided. * Renders a `<p>` element. * * Documentation: [Base UI Toast](https://base-ui.com/react/components/toast) */ export declare const ToastDescription: React.ForwardRefExoticComponent<ToastDescriptionProps & React.RefAttributes<HTMLParagraphElement>>; export interface ToastDescriptionState { /** * The type of the toast. */ type: string | undefined; } export interface ToastDescriptionProps extends BaseUIComponentProps<'p', ToastDescription.State> {} export declare namespace ToastDescription { type State = ToastDescriptionState; type Props = ToastDescriptionProps; }