UNPKG

2.1 kBTypeScriptView Raw
1import { NoticeBarProps } from './NoticeBar';
2export declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3 text: StringConstructor;
4 mode: import("vue").PropType<import("./types").NoticeBarMode>;
5 color: StringConstructor;
6 delay: {
7 type: (NumberConstructor | StringConstructor)[];
8 default: number;
9 };
10 speed: {
11 type: (NumberConstructor | StringConstructor)[];
12 default: number;
13 };
14 leftIcon: StringConstructor;
15 wrapable: BooleanConstructor;
16 background: StringConstructor;
17 scrollable: {
18 type: import("vue").PropType<boolean | null>;
19 default: null;
20 };
21}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "replay")[], "close" | "replay", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22 text: StringConstructor;
23 mode: import("vue").PropType<import("./types").NoticeBarMode>;
24 color: StringConstructor;
25 delay: {
26 type: (NumberConstructor | StringConstructor)[];
27 default: number;
28 };
29 speed: {
30 type: (NumberConstructor | StringConstructor)[];
31 default: number;
32 };
33 leftIcon: StringConstructor;
34 wrapable: BooleanConstructor;
35 background: StringConstructor;
36 scrollable: {
37 type: import("vue").PropType<boolean | null>;
38 default: null;
39 };
40}>> & Readonly<{
41 onClose?: ((...args: any[]) => any) | undefined;
42 onReplay?: ((...args: any[]) => any) | undefined;
43}>, {
44 scrollable: boolean | null;
45 delay: string | number;
46 speed: string | number;
47 wrapable: boolean;
48}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
49export default NoticeBar;
50export { noticeBarProps } from './NoticeBar';
51export type { NoticeBarProps };
52export type { NoticeBarMode, NoticeBarInstance, NoticeBarThemeVars, } from './types';
53declare module 'vue' {
54 interface GlobalComponents {
55 VanNoticeBar: typeof NoticeBar;
56 }
57}
58
\No newline at end of file