rn-modal-window
Prerequisites
This library is pure react-native component, so just have fun on it
Installation
To install this component to your react-native project, please just following this instruction bellow.
#on your root project, enter command $ npm install --save rn-modal-window
Example code
To install this component to your react-native project, please just following this instruction bellow.
import React Component from 'react';import Text View from 'react-native';import ModalWindow from "rn-modal-window"; <Props> { thismodalExample } { thismodalExample; } { return <ModalWindow = = = = > <Text>example modal</Text> </ModalWindow> ; }
defaultProps
So you can add many properties, you can look at the list of defaultprops / properties
// Propeties ModalWindowdefaultProps = actionRender: undefined width: '90%' height: isShow: false null // only ios headerStyle: null headerTitleStyle:
Dependencies
no depedencies, its all use eact-native component
License
MIT Licences