re: Building a modal in React. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi, if i want to add Function on Continue button how can i do that? basically i want to display a dropdown menu as i click continue button
 

Hello
Add this below the closeModalHandler

continueFunction = () => {
    // your function body goes here
}

and then change the continue button to this

<button className="btn-continue" onClick={props.close}>CONTINUE</button>
code of conduct - report abuse