Closed ly9310 closed 5 years ago
@ly9310 no it shouldn't. The second parameter to setState()
is an optional callback function. It's just referencing the function that setState
will call. Its not meant to initiate the onClose
function
Emmmmm,I understand, Thanks for your reply.
https://github.com/oblador/react-native-lightbox/blob/4448979323623a56c62b5f8be1032322485cbd31/Lightbox.js#L112