gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
36 lines (35 loc) • 979 B
TypeScript
import { type StyleValue } from 'vue';
export interface AccordionProps {
rootStyle?: StyleValue;
rootClass?: string;
modelValue?: (string | number)[] | string | number;
multiple?: boolean;
hideBorder?: boolean;
}
export interface AccordionEmits {
(e: 'update:model-value', event: any): void;
}
export interface AccordionSlots {
default?(props: Record<string, never>): any;
}
export interface AccoridonContext {
value: any;
multiple: AccordionProps['multiple'];
toggle: (name: string | number) => void;
hideBorder?: boolean;
}
export declare const accoridonContextSymbol: unique symbol;
export interface AccordionItemProps {
rootStyle?: StyleValue;
rootClass?: string;
title?: string;
value?: string;
name?: string | number;
disabled?: boolean;
}
export interface AccordionItemEmits {
(e: 'click', event: any): void;
}
export interface AccordionItemSlots {
default?(props: Record<string, never>): any;
}