/**
 * @file Line.tsx
 * @author lihuanji
 *
 * 收货地址线条
 */

import React from 'react';
const styles = require('./style.module.styl');

const Line = () => {
    const device_width = document.body.clientWidth || window.innerWidth;
    const renderLength = Math.ceil((device_width * 2) / 50);
    const items: any = [];

    for (let i = 0; i < renderLength; i++) {
        items.push(<div key={i} />);
    }

    return <div className={styles.Line}>{items}</div>;
};

export default Line;
