gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
35 lines (34 loc) • 803 B
TypeScript
import { type StyleValue } from 'vue';
export interface FabProps {
rootStyle?: StyleValue;
rootClass?: string;
top?: string;
right?: string;
bottom?: string;
left?: string;
color?: string;
background?: string;
icon?: string;
iconFamily?: string;
itemList?: FabItem[];
hideName?: boolean;
overlayClosable?: boolean;
duration?: number;
}
export declare const defaultFabProps: () => {
itemList: () => never[];
overlayClosable: boolean;
hideName: boolean;
duration: number;
};
export interface FabEmits {
(e: 'click', event: any): void;
(e: 'select', item: FabItem, index: number): void;
}
export interface FabItem {
name?: string;
color?: string;
background?: string;
icon?: string;
iconFamily?: string;
}