Optional
closeThis property calls the function that changes the status present in "show," and it is triggered when clicking outside the modal.
Example:
<Modal closeOnPressOut={this.myFuncion} />
Optional
id"Fills the ID of the element (not very practical)."
Example:
<View id="id" />
Optional
onThis property calls the function that changes the status present in "show," and it is triggered when clicking outside the modal.
Example
<Modal onClose={this.myFuncion} />
Optional
positionSets the position of the modal on the screen. It can be "center" or "bottom."
Example:
<Modal position="center" />
Optional
showDefines the visibility of the modal window; use a stateful value.
Example:
<Modal show={true} />
Optional
showDefines whether the back of the modal will be displayed. This part causes the blocking of interaction with elements behind the modal window.
Example:
<Modal showBackdrop={true} />
Optional
transform"Prepare a position transforming of element"
Example:
<View transform="rotate(45deg)" />
Optional
transition"Prepare a transition of visual state change"
Example:
<View transition="background-color 0.5s ease-in-out" />
Optional
visual"Determines the visual state of the component and its children."
Example:
<View visualState="success" />
Properties used in the Modal component.