import React from 'react'; export interface SkuDetailProps { prefixCls?: string; style: any; width: string; data: any; height: string; onBackClick?: Function; onShareClick?: Function; onEliClick?: Function; onLikeClick?: Function; imgIndex?: number; isSpike?: boolean; spikeData?: any; hidePrice?: boolean; } export default class SkuDetail extends React.Component { state: { showMore: boolean; position: number; }; static defaultProps: { prefixCls: string; width: string; height: string; data: { name: string; des: string; nP: string; oP: string; tags: string[]; rate: number; market: string; imgUrlList: string[]; }; }; componentWillReceiveProps(nextProps: any): void; onRef: (ref: any) => void; render(): JSX.Element; }