@opencloud-eu/design-system
Version:
OpenCloud Design System is used to design OpenCloud UI components
37 lines (36 loc) • 1.14 kB
TypeScript
export interface Props {
/**
* @docs The title of the notification message.
*/
title: string;
/**
* @docs The content of the error log that can be copied.
*/
errorLogContent?: string;
/**
* @docs The message of the notification.
*/
message?: string;
/**
* @docs The status of the notification message.
* @default passive
*/
status?: 'passive' | 'primary' | 'success' | 'warning' | 'danger';
/**
* @docs The timeout in seconds after which the notification message will be closed.
* @default 5
*/
timeout?: number;
}
export interface Emits {
/**
* @docs Emitted when the notification message has been closed.
*/
(e: 'close'): void;
}
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
close: () => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onClose?: () => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;