feat(Notify): add type prop (#4237)

This commit is contained in:
neverland
2019-08-26 09:48:43 +08:00
committed by GitHub
parent ae53f9b58f
commit 10b52963b8
11 changed files with 151 additions and 44 deletions

1
types/notify.d.ts vendored
View File

@@ -3,6 +3,7 @@ import Vue from 'vue';
export type NotifyMessage = string | number;
export type NotifyOptions = {
type?: 'primary' | 'success' | 'danger' | 'warning';
value?: boolean;
color?: string;
message?: NotifyMessage;