score:1

Accepted answer
let InputsMaker=(props) => Array(props.count || 0).fill(1).map((val,i)=>(<input key={i}>da</input>))

Related Query

More Query from same tag