| id | popup-component |
|---|---|
| title | Popup |
Old Architecture Only: This documentation describes a feature only supported by React Native's "Old" or "Legacy" Architecture. We are still in the progress of updating all of the documentation, but in the meantime, for information on React Native architectures in React Native Windows, see New vs. Old Architecture.
Inherits View Props.
A boolean that returns true when the Popup is active/open, and false when it's not.
| type | required |
|---|---|
| bool | No |
Whether or not the Popup will close if the user clicks outside of it.
Set to false if you want your Popup to be modal.
| type | required |
|---|---|
| bool | No |
Specifies horizontal offset from spawn point.
| type | required |
|---|---|
| number | No |
Specifies vertical offset from spawn point.
| type | required |
|---|---|
| number | No |
An event that fires when the Popup is dismissed.
This must update the isOpen property.
| type | required |
|---|---|
| function | Yes |
A component that the Popup is attached to and will show from when isOpen is true.
| type | required |
|---|---|
React.ReactNode |
Yes |
Specifies and sets whether the Popup will get focus automatically when the page loads or not.
| type | required |
|---|---|
| bool | No |
Examples can be found in the React Native Gallery App available in the Microsoft Store