import React from 'react'
import PropTypes from 'prop-types'
import styles from './ReEnterSeed.scss'
class ReEnterSeed extends React.Component {
componentWillMount() {
this.props.setReEnterSeedIndexes()
}
render() {
const { seed, reEnterSeedInput, updateReEnterSeedInput, seedIndexesArr } = this.props
return (
{seedIndexesArr.map(index => (
-
))}
)
}
}
ReEnterSeed.propTypes = {
seed: PropTypes.array.isRequired,
reEnterSeedInput: PropTypes.object.isRequired,
updateReEnterSeedInput: PropTypes.func.isRequired,
setReEnterSeedIndexes: PropTypes.func.isRequired,
seedIndexesArr: PropTypes.array.isRequired
}
export default ReEnterSeed