@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
11 lines (10 loc) • 433 B
TypeScript
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;
};
export declare const VuiNotification: ({ color, message, onDismiss, children, hasCopyButton }: Props) => import("react/jsx-runtime").JSX.Element;
export {};