I see in your examples, and even in the documentation, you pass a visible prop, but the component doesn't accept it. Even if I try to wrap a piece of state around the component, toggle visibility using some onClick handler, then set the state to false using the onClose handler provided by the ConnectPaymentDetails component, the payment details popup doesn't disappear. ie. I don't see any way to close the component once its open.
I see in your examples, and even in the documentation, you pass a visible prop, but the component doesn't accept it. Even if I try to wrap a piece of state around the component, toggle visibility using some onClick handler, then set the state to false using the onClose handler provided by the ConnectPaymentDetails component, the payment details popup doesn't disappear. ie. I don't see any way to close the component once its open.