open a compoents as modal in react code example Example: how use modal in login button click in react js how use modal in login button click in react js