import PropTypes from 'prop-types'; import { Component } from 'react'; interface CouponProps { dialogModal: boolean; prefixCls?: string; closeDialog: any; list: any; type?: string; onCollect?: any; onSelect?: any; isMyCoupon?: any; selectedCoupon?: any; } /** * 优惠券底部弹框公共组件 */ export default class CouponDialog extends Component { static contextTypes: { antLocale: PropTypes.Requireable; }; static defaultProps: { prefixCls: string; dialogModal: boolean; list: never[]; type: string; isMyCoupon: boolean; }; state: { selectCoupon: number; }; componentDidMount(): void; handleSelect(coupon: any): void; render(): JSX.Element; } export {};