import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps } from "../../internals/types.js"; export interface ToastDescriptionState { /** The toast's `type` slot (forwarded from the toast object). */ type: string | undefined; } export interface ToastDescriptionProps extends BaseUIComponentProps<"p", ToastDescriptionState> { /** Tag/component to render. Defaults to `"p"`. */ as?: ValidComponent; } /** * The toast's description. Renders a `
` by default and registers its
* id with `