UNPKG

gtht-miniapp-sdk

Version:

gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

49 lines (48 loc) 1.27 kB
import { type StyleValue } from 'vue'; export interface TabbarProps { rootStyle?: StyleValue; rootClass?: string; current?: number | string; color?: string; activeColor?: string; bordered?: boolean; fixed?: boolean; safeAreaInsetBottom?: boolean; } export declare const defaultTabbarProps: { bordered: boolean; }; export interface TabbarSlots { default?(props: Record<string, never>): any; } export interface TabbarEmits { (e: 'update:current', current: number | string): void; (e: 'change', current: number | string): void; } export interface TabbarItemProps { rootStyle?: StyleValue; rootClass?: string; name?: string | number; icon?: string; iconFamily?: string; iconSize?: string; badge?: number | string; dot?: boolean; text?: string; } export interface TabbarItemSlots { default?(props: Record<string, never>): any; icon?(props: { active: boolean; }): any; } export interface TabbarItemEmits { (e: 'click', event: any): void; } export interface TabbarContext { color: TabbarProps['color']; activeColor: TabbarProps['activeColor']; current: any; select: (name: string | number) => void; } export declare const tabbarContextSymbol: unique symbol;