react-native-easy-modal

A simple component for React-native, support Android and IOS

Usage no npm install needed!

<script type="module">
  import reactNativeEasyModal from 'https://cdn.skypack.dev/react-native-easy-modal';
</script>

README

react-native-easy-modal

A simple component for React-native, support Android and IOS

Install

npm install react-native-easy-modal@latest --save

Usage example

<Button onPress={() => this.refs.modal1.toggleVisible()}>Basic modal</Button>

<Modalbox ref="modal1" modalVisible={this.state.buyModalVisible}>
    <Text>test</Text>
</Modalbox>