Nima
Nima

Reputation: 1932

How to show a component inside dialog box in react native?

I couldn't find any feature or library in the internet that support dialog box in React Native. Is there any way or do I have to use Android native dialog box?

Upvotes: 1

Views: 3434

Answers (1)

Gui Herzog
Gui Herzog

Reputation: 5615

If you are using the native android/ios dialog boxes, you cannot show a component inside of it. However, you can design your own customised dialog box using the React Native Modal component or, alternatively, you can use a third-party library that allows this, such as: React Native Pop-up Dialog

Upvotes: 4

Related Questions