sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
19 lines (18 loc) • 493 B
TypeScript
import { type StyleValue } from 'vue';
export interface CardProps {
rootStyle?: StyleValue;
rootClass?: string;
title?: string;
extra?: string;
footer?: string;
hover?: 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;
}