UNPKG

2.13 kBTypeScriptView Raw
1export declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 title: StringConstructor;
3 fixed: BooleanConstructor;
4 zIndex: (NumberConstructor | StringConstructor)[];
5 border: {
6 type: BooleanConstructor;
7 default: true;
8 };
9 leftText: StringConstructor;
10 rightText: StringConstructor;
11 leftDisabled: BooleanConstructor;
12 rightDisabled: BooleanConstructor;
13 leftArrow: BooleanConstructor;
14 placeholder: BooleanConstructor;
15 safeAreaInsetTop: BooleanConstructor;
16 clickable: {
17 type: BooleanConstructor;
18 default: true;
19 };
20}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickLeft" | "clickRight")[], "clickLeft" | "clickRight", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21 title: StringConstructor;
22 fixed: BooleanConstructor;
23 zIndex: (NumberConstructor | StringConstructor)[];
24 border: {
25 type: BooleanConstructor;
26 default: true;
27 };
28 leftText: StringConstructor;
29 rightText: StringConstructor;
30 leftDisabled: BooleanConstructor;
31 rightDisabled: BooleanConstructor;
32 leftArrow: BooleanConstructor;
33 placeholder: BooleanConstructor;
34 safeAreaInsetTop: BooleanConstructor;
35 clickable: {
36 type: BooleanConstructor;
37 default: true;
38 };
39}>> & Readonly<{
40 onClickLeft?: ((...args: any[]) => any) | undefined;
41 onClickRight?: ((...args: any[]) => any) | undefined;
42}>, {
43 fixed: boolean;
44 border: boolean;
45 clickable: boolean;
46 placeholder: boolean;
47 safeAreaInsetTop: boolean;
48 leftDisabled: boolean;
49 rightDisabled: boolean;
50 leftArrow: boolean;
51}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
52export default NavBar;
53export { navBarProps } from './NavBar';
54export type { NavBarProps } from './NavBar';
55export type { NavBarThemeVars } from './types';
56declare module 'vue' {
57 interface GlobalComponents {
58 VanNavBar: typeof NavBar;
59 }
60}
61
\No newline at end of file