I want to everytime i click on "addCart" appear a new of the same component ( another Bets>Example Number</Bets appears on the DOM).
const newBet: React.FC = () => { const [getAddCart, setGetAddCart] = useState([<BetsEmpty>Empty Cart</BetsEmpty>, ]); function addCart() { setGetAddCart([<Bets> Example Number</Bets>, ]); }return(<AllBets>{getAddCart}</AllBets><Button onClick={addCart}></Button>)}