tdesign-vue-next
Version:
TDesign Component for vue-next
19 lines (18 loc) • 489 B
TypeScript
import { TNode } from '../common';
export interface TdAlertProps {
close?: string | boolean | TNode;
closeBtn?: string | boolean | TNode;
default?: string | TNode;
icon?: TNode;
maxLine?: number;
message?: string | TNode;
operation?: TNode;
theme?: 'success' | 'info' | 'warning' | 'error';
title?: string | TNode;
onClose?: (context: {
e: MouseEvent;
}) => void;
onClosed?: (context: {
e: TransitionEvent;
}) => void;
}