@tplc/wot
Version:
81 lines (80 loc) • 1.52 kB
TypeScript
import type { ExtractPropTypes } from 'vue'
export declare const navbarProps: {
/**
* 标题文字
*/
title: StringConstructor
/**
* 左侧文案
*/
leftText: StringConstructor
/**
* 右侧文案
*/
rightText: StringConstructor
/**
* 是否显示左侧箭头
*/
leftArrow: {
type: BooleanConstructor
default: boolean
}
/**
* 是否显示下边框
*/
bordered: {
type: BooleanConstructor
default: boolean
}
/**
* 是否固定到顶部
*/
fixed: {
type: BooleanConstructor
default: boolean
}
/**
* 固定在顶部时,是否在标签位置生成一个等高的占位元素
*/
placeholder: {
type: BooleanConstructor
default: boolean
}
/**
* 导航栏 z-index
*/
zIndex: {
type: NumberConstructor
default: number
}
/**
* 是否开启顶部安全区适配
*/
safeAreaInsetTop: {
type: BooleanConstructor
default: boolean
}
/**
* 是否禁用左侧按钮,禁用时透明度降低,且无法点击
*/
leftDisabled: {
type: BooleanConstructor
default: boolean
}
/**
* 是否禁用右侧按钮,禁用时透明度降低,且无法点击
*/
rightDisabled: {
type: BooleanConstructor
default: boolean
}
customStyle: {
type: import('vue').PropType<string>
default: string
}
customClass: {
type: import('vue').PropType<string>
default: string
}
}
export type NavbarProps = ExtractPropTypes<typeof navbarProps>