Modal Prop details animationType it's an enum of ('none', 'slide', 'fade') and it controls modal animation. visible its a bool that controls modal visiblity. onShow it allows passing a function that will be called once the modal has been shown. transparent bool to set transparency. onRequestClose (android) it always defining a method that will be called when user tabs back button onOrientationChange (IOS) it always defining a method that will be called when orientation changes supportedOrientations (IOS) enum('portrait', 'portrait-upside-down', 'landscape', 'landscape-left', 'landscape-right') Modal component is a simple way to present content above an enclosing view. using given Modal make a Basic Example?
Modal
Prop details
animationType it's an enum of ('none', 'slide', 'fade') and it controls modal animation.
visible its a bool that controls modal visiblity.
onShow it allows passing a function that will be called once the modal has been shown.
transparent bool to set transparency.
onRequestClose (android) it always defining a method that will be called when user tabs back button
onOrientationChange (IOS) it always defining a method that will be called when orientation changes
supportedOrientations (IOS) enum('portrait', 'portrait-upside-down', 'landscape', 'landscape-left', 'landscape-right')
Modal component is a simple way to present content above an enclosing view.
using given Modal make a Basic Example?

Trending now
This is a popular solution!
Step by step
Solved in 2 steps









