import PropTypes from 'prop-types'; import { Component } from 'react'; interface CouponProps { coupon: any; prefixCls?: string; type?: string; selectCoupon?: any; onCollect?: any; onSelect?: any; isMyCoupon?: any; } /** * 优惠券条目公共组件 */ export default class CouponItem extends Component { static contextTypes: { antLocale: PropTypes.Requireable; }; static defaultProps: { prefixCls: string; type: string; isMyCoupon: boolean; }; state: { openCouponDetail: boolean; }; handleSelect(): void; render(): JSX.Element; } export {};