UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

26 lines (25 loc) 880 B
/// <reference types="react" /> export declare enum ToastType { NORMAL = "normal", POSITIVE = "positive", NEGATIVE = "negative", WARNING = "warning", DARK = "dark" } export declare enum ToastActionType { LINK = "link", BUTTON = "button" } export declare const defaultIconMap: { normal: import("react").FC<import("../Icon/Icons/components/Info").InfoProps>; positive: import("react").FC<import("../Icon/Icons/components/Check").CheckProps>; negative: import("react").FC<import("../Icon/Icons/components/Alert").AlertProps>; warning: import("react").FC<import("../Icon/Icons/components/Warning").WarningProps>; dark: import("react").FC<import("../Icon/Icons/components/Info").InfoProps>; }; export type ToastAction = { type: ToastActionType; content?: string; text?: string; href?: string; };