UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

18 lines (17 loc) 634 B
import { CodeLanguage } from "../code/types"; import { LinkProps } from "../link/types"; export declare const addNotification: (props: Omit<Props, "onDismiss">) => string | number; type Props = { color: "primary" | "success" | "warning" | "danger"; message: string; onDismiss: () => void; children?: React.ReactNode; hasCopyButton?: boolean; code?: { content: string; language?: CodeLanguage; }; link?: LinkProps; }; export declare const VuiNotification: ({ color, message, onDismiss, children, hasCopyButton, code, link }: Props) => import("react/jsx-runtime").JSX.Element; export {};