UNPKG

gtht-miniapp-sdk

Version:

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

48 lines (47 loc) 1.43 kB
import { InjectionKey, type StyleValue } from 'vue'; export interface ListProps { rootStyle?: StyleValue; rootClass?: string; title?: string | number; description?: string | number; inlaid?: boolean; card?: boolean; hideBorder?: boolean; } export interface ListSlots { default?(props: Record<string, never>): any; title?(props: Record<string, never>): any; description?(props: Record<string, never>): any; } export interface ListItemProps { rootStyle?: StyleValue; rootClass?: string; title?: string | number; description?: string | number; value?: string | number; hover?: boolean; arrow?: boolean; arrowDirection?: 'up' | 'right' | 'down'; icon?: string; iconSize?: string; iconColor?: string; iconFamily?: string; } export declare const defaultListItemProps: { arrowDirection: ListItemProps["arrowDirection"]; }; export interface ListItemEmits { (e: 'click', event: any): void; } export interface ListItemSlots { default?(props: Record<string, never>): any; title?(props: Record<string, never>): any; description?(props: Record<string, never>): any; value?(props: Record<string, never>): any; arrow?(props: Record<string, never>): any; icon?(props: Record<string, never>): any; } export interface ListContext { hideBorder?: boolean; } export declare const listContextKey: InjectionKey<ListContext>;