gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
21 lines (20 loc) • 557 B
TypeScript
import { type StyleValue } from 'vue';
export interface CardProps {
rootStyle?: StyleValue;
rootClass?: string;
title?: string;
extra?: string;
footer?: string;
hover?: boolean;
hideHeaderBorder?: boolean;
hideFooterBorder?: boolean;
}
export interface CardSlots {
default?(props: Record<string, never>): any;
title?(props: Record<string, never>): any;
extra?(props: Record<string, never>): any;
footer?(props: Record<string, never>): any;
}
export interface CardEmits {
(e: 'click', event: any): void;
}