The simplest way to render anything on top of the rest.
The simplest way to render anything on top of the rest.
The simplest way to render anything on top of the rest.
This component is extracted from react-native-paper and has been simplified for the purpose of react-native-modalize.
yarn add react-native-portalizeimport React from 'react';
import { View, Text } from 'react-native';
import { Host, Portal } from 'react-native-portalize';
export const MyApp = () => (
Some copy here and there...
A portal on top of the rest
);Example with react-native-modalize and react-navigation
…childrenA React node that will be most likely wrapping your whole app.
| Type | Required |
|---|---|
| node | Yes |
styleOptional props to define the style of the Host component.
| Type | Required |
|---|---|
| style | No |
childrenThe React node you want to display on top of the rest.
| Type | Required |
|---|---|
| node | Yes |
No open issues yet, or sync has not completed.