import * as React from "react";
import './index.less'
import Magic from '../commen/magic'

type ImgList = {
    link: string,
    picurl: string
}

export interface IPropTypes {
    pageSpace: number
    space: number,
    imgList: Array<ImgList>
}

class TwoItem extends React.Component<IPropTypes, any> {
    constructor(props: IPropTypes) {
        super(props);
        this.state = {}
    }

    componentDidMount(): void {

    }

    componentWillReceiveProps(nextProps: Readonly<IPropTypes>, nextContext: any): void {

    }

    render(): React.ReactElement<any> | string | number | {} | React.ReactNodeArray | React.ReactPortal | boolean | null | undefined {
        return (
            <Magic {...this.props}
                   number={2}
                   className={'shop-magic-wrapper-1'}
            ></Magic>
        );
    }
}

export default TwoItem;