UNPKG

@tplc/wot

Version:

43 lines (42 loc) 773 B
import type { ExtractPropTypes, PropType } from 'vue' export type CardType = 'rectangle' export declare const cardProps: { /** * 卡片类型 */ type: PropType<CardType> /** * 卡片标题 */ title: StringConstructor /** * 标题自定义样式 */ customTitleClass: { type: PropType<string> default: string } /** * 内容自定义样式 */ customContentClass: { type: PropType<string> default: string } /** * 底部自定义样式 */ customFooterClass: { type: PropType<string> default: string } customStyle: { type: PropType<string> default: string } customClass: { type: PropType<string> default: string } } export type CardProps = ExtractPropTypes<typeof cardProps>