const [show, setShow] = useState(false);
const handleClick = () =>{
setShow(!show);
}
return(
<>
<div className={styles.wrapper}>
<div className={styles.container}>
<div className={styles.choice}>
<label><input type="radio" name="amountusd" value={5} /><span>5$</span></label>
<label><input type="radio" name="amountusd" value={10}/><span>10$</span></label>
<label><input type="radio" name="amountusd" value={15}/><span>15$</span></label>
<label><input onClick={handleClick} type="radio" /><span className={styles.button}>Другая сумма</span></label>
</div>
<div className={`${styles.dropdownContent} ${show ? styles.show : ""}`}>
<input type="number" name="amountusd" placeholder='Другая сумма' />
</div>