UNPKG

2.68 kBTypeScriptView Raw
1export declare const SubmitBar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 tip: StringConstructor;
3 label: StringConstructor;
4 price: NumberConstructor;
5 tipIcon: StringConstructor;
6 loading: BooleanConstructor;
7 currency: {
8 type: import("vue").PropType<string>;
9 default: string;
10 };
11 disabled: BooleanConstructor;
12 textAlign: import("vue").PropType<import("./SubmitBar").SubmitBarTextAlign>;
13 buttonText: StringConstructor;
14 buttonType: {
15 type: import("vue").PropType<import("..").ButtonType>;
16 default: import("..").ButtonType;
17 };
18 buttonColor: StringConstructor;
19 suffixLabel: StringConstructor;
20 placeholder: BooleanConstructor;
21 decimalLength: {
22 type: (NumberConstructor | StringConstructor)[];
23 default: number;
24 };
25 safeAreaInsetBottom: {
26 type: BooleanConstructor;
27 default: true;
28 };
29}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30 tip: StringConstructor;
31 label: StringConstructor;
32 price: NumberConstructor;
33 tipIcon: StringConstructor;
34 loading: BooleanConstructor;
35 currency: {
36 type: import("vue").PropType<string>;
37 default: string;
38 };
39 disabled: BooleanConstructor;
40 textAlign: import("vue").PropType<import("./SubmitBar").SubmitBarTextAlign>;
41 buttonText: StringConstructor;
42 buttonType: {
43 type: import("vue").PropType<import("..").ButtonType>;
44 default: import("..").ButtonType;
45 };
46 buttonColor: StringConstructor;
47 suffixLabel: StringConstructor;
48 placeholder: BooleanConstructor;
49 decimalLength: {
50 type: (NumberConstructor | StringConstructor)[];
51 default: number;
52 };
53 safeAreaInsetBottom: {
54 type: BooleanConstructor;
55 default: true;
56 };
57}>> & Readonly<{
58 onSubmit?: ((...args: any[]) => any) | undefined;
59}>, {
60 disabled: boolean;
61 placeholder: boolean;
62 safeAreaInsetBottom: boolean;
63 loading: boolean;
64 currency: string;
65 decimalLength: string | number;
66 buttonType: import("..").ButtonType;
67}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
68export default SubmitBar;
69export { submitBarProps } from './SubmitBar';
70export type { SubmitBarProps, SubmitBarTextAlign } from './SubmitBar';
71export type { SubmitBarThemeVars } from './types';
72declare module 'vue' {
73 interface GlobalComponents {
74 VanSubmitBar: typeof SubmitBar;
75 }
76}
77
\No newline at end of file