@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
13 lines (12 loc) • 437 B
TypeScript
export type Notification = {
color: "primary" | "success" | "warning" | "danger";
message: string;
};
type Props = {
notification: Notification;
onDismiss: (notification: Notification) => void;
notificationsCount: number;
children?: React.ReactNode;
};
export declare const VuiNotification: ({ notification, onDismiss, notificationsCount, children }: Props) => import("react/jsx-runtime").JSX.Element;
export {};