antd-mini
Version:
antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。
20 lines (19 loc) • 522 B
TypeScript
export interface ICardProps {
className?: string;
config?: ICardConfig;
title?: string;
operateText?: string;
needFold?: boolean;
foldStatus?: boolean;
headSticky?: boolean;
stickyTransparentTitle?: boolean;
stickyTop?: string;
divider?: boolean;
onOperateClick?: (e: any) => void;
onFoldChange?: () => void;
onTitleSticky?: (status: any) => void;
}
export interface ICardConfig {
foldTapArea?: 'btn' | 'header';
}
export declare const CardDefaultProps: ICardProps;