UNPKG

649 BTypeScriptView Raw
1import type { ComponentPublicInstance } from 'vue';
2import type { NoticeBarProps } from './NoticeBar';
3export type NoticeBarMode = 'closeable' | 'link';
4export type NoticeBarExpose = {
5 reset: () => void;
6};
7export type NoticeBarInstance = ComponentPublicInstance<NoticeBarProps, NoticeBarExpose>;
8export type NoticeBarThemeVars = {
9 noticeBarHeight?: string;
10 noticeBarPadding?: string;
11 noticeBarWrapablePadding?: string;
12 noticeBarTextColor?: string;
13 noticeBarFontSize?: string;
14 noticeBarLineHeight?: number | string;
15 noticeBarBackground?: string;
16 noticeBarIconSize?: string;
17 noticeBarIconMinWidth?: string;
18};