UNPKG

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