import React, { Component } from 'react' import PropTypes from 'prop-types' export default class Breadcrumbs extends Component { static propTypes = { total: PropTypes.number, currentIndex: PropTypes.number, }; render () { const {total, currentIndex} = this.props return (
{Array(total).fill().map((_, i) => (
))}
) } }