I need to append a Modal
to root element
of a React-Native
application which I didn't write. But I know there is a root element
there.
How can I do that?
How to append a Modal to root element?
348 views Asked by Danoosh Jooybar At
1
It's quite simple then, you just need install react-native-modal, and check the source code from node_modules
http://github.com/react-native-modal/react-native-modal take this as an example and this is the source code https://github.com/react-native-modal/react-native-modal/blob/master/src/modal.tsx
this answer was made by https://stackoverflow.com/users/9816472/isaac in comments