antd-mini
Version:
antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。
29 lines (28 loc) • 701 B
TypeScript
interface ActionAreaInfo {
disabled?: boolean;
text?: string;
imageUrl?: string;
}
interface Item {
title?: string;
desc?: string;
money?: string;
moneyUnit?: string;
threshold?: string;
actionAreaInfo?: ActionAreaInfo;
disabled?: boolean;
}
export interface IVoucherProps {
className?: string;
direction?: 'horizontal' | 'vertical' | 'multipleColumn';
size?: 'large' | 'small';
dataSource: Item[];
onVoucherTap?: (item: any, event: any) => void;
onBtnTap?: (item: any, event: any) => void;
/**
* @deprecated
*/
onTap?: (item: any, event: any) => void;
}
export declare const componentsProps: IVoucherProps;
export {};