@porsche-design-system/components-react
Version:
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
15 lines (14 loc) • 677 B
TypeScript
import type { BaseProps } from '../../BaseProps';
import type { Theme } from '../types';
export type PToastProps = BaseProps & {
/**
* Adapts the toast color depending on the theme.
*/
theme?: Theme;
};
export declare const PToast: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
/**
* Adapts the toast color depending on the theme.
*/
theme?: Theme;
} & import("react").RefAttributes<HTMLElement>>;