реагировать событие для модалов
// if you want to bind a function to your modal on display
// you can do this
export default function FreeTrialModal(props) {
const handleEvent = (e) => {
console.log("modal in display")
}
return (
<div id="FreeTrialModal" onFocus={handleEvent}>
...
</div>
)
}
stormerthe2nd