uview-pro
Version:
uView Pro,是全面支持Vue3的uni-app生态框架,70+精选组件已使用TypeScript重构,已全面支持uni-app Vue3.0
15 lines (12 loc) • 521 B
text/typescript
import type { ExtractPropTypes, PropType } from 'vue';
/**
* TopTipsProps top-tips props 类型定义
* @description 顶部提示组件,支持导航栏高度、z-index
*/
export const TopTipsProps = {
/** 导航栏高度,用于提示的初始化 */
navbarHeight: { type: [Number, String] as PropType<number | string>, default: 0 },
/** z-index值 */
zIndex: { type: [Number, String] as PropType<number | string>, default: '' }
};
export type TopTipsProps = ExtractPropTypes<typeof TopTipsProps>;