import PropTypes from 'prop-types'; import React from 'react'; export interface ProductListItemProps { prefixCls?: string; style: any; width: string; data: any; onItemClick: Function; onCart: Function; showMarket: boolean; showRate?: boolean; showTags: boolean; showSoldOutTag: boolean; showProgress: boolean; progressTxt: string; present: number; } export default class ProductListItem extends React.Component { state: { showMore: boolean; }; static contextTypes: { antLocale: PropTypes.Requireable; }; static defaultProps: { prefixCls: string; width: string; showRate: boolean; onItemClick: (item: any) => void; }; handleCart(e: any, data: any): void; render(): JSX.Element; }