I'm developing a React Native app. I created my own custom `alert` as a `component` using `modal`. When I use it, I always need to add my `alert` component in my `render()` function.

Is there any way to use the custom alert without rendering it inside my `render()` function?

I mean, I can use `Alert` in `react-native` by calling it as `Alert.alert()`. I want to use my own custom alert also like that.

How can I do that?