[new feature] Toast: add icon prop (#3485)

This commit is contained in:
neverland
2019-06-12 17:21:59 +08:00
committed by GitHub
parent 2d18f67a7d
commit 153fb9d69f
15 changed files with 185 additions and 48 deletions

1
types/toast.d.ts vendored
View File

@@ -4,6 +4,7 @@ import { VanPopupMixin } from './mixins/popup';
type ToastMessage = string | number;
export type ToastOptions = {
icon?: string;
type?: string;
mask?: boolean;
position?: string;