mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
types: remove VanPopupMixin
This commit is contained in:
4
types/toast.d.ts
vendored
4
types/toast.d.ts
vendored
@@ -1,5 +1,3 @@
|
||||
import { VanPopupMixin } from './mixins/popup';
|
||||
|
||||
type ToastMessage = string | number;
|
||||
type ToastType = 'text' | 'loading' | 'success' | 'fail' | 'html';
|
||||
type ToastPosition = 'top' | 'middle' | 'bottom';
|
||||
@@ -25,7 +23,7 @@ export type ToastOptions = {
|
||||
getContainer?: string | (() => Element);
|
||||
};
|
||||
|
||||
export interface VanToast extends VanPopupMixin {
|
||||
export interface VanToast {
|
||||
type: ToastType;
|
||||
position: ToastPosition;
|
||||
loadingType: ToastLoadingType;
|
||||
|
Reference in New Issue
Block a user