Skip to content

cdelapenaff/react-native-modal-queue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-modal-queue

Small wrapper so that Modals are queued up. Helps with an issue on react-native IOS that stops the second modal appearing

npm i -s react-native-modal-queue
import Modal, {QueueProvider} from 'react-native-modal-queue';


export default () => 
  <QueueProvider>
    <Modal isVisible={true} />  // <-- This modal will show as it's registered first
    <Modal isVisible={true} />  // <-- This modal will not be visible until the first one is hidden.
  </QueueProvider>

About

react-native-modal-queue

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%