vant/src/notice-bar/types.ts

14 lines
308 B
TypeScript

import type { ComponentPublicInstance } from 'vue';
import type { NoticeBarProps } from './NoticeBar';
export type NoticeBarMode = 'closeable' | 'link';
export type NoticeBarExpose = {
reset: () => void;
};
export type NoticeBarInstance = ComponentPublicInstance<
NoticeBarProps,
NoticeBarExpose
>;