How to use the react-native-modal.Container function in react-native-modal

To help you get started, we’ve selected a few react-native-modal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github EdgeApp / edge-react-gui / src / modules / UI / components / PasswordReminderModal / components / Modal.ui.js View on Github external
import { Text, View } from 'react-native'
import Modal from 'react-native-modal'

import styles from './modalStyles.js'

export { Modal }
export default Modal

// CONTAINER /////////////////////////////////////////////////////////////////////////////
export type ContainerProps = {
  children: Node,
  style?: Object
}
export type ContainerState = {}

Modal.Container = class Container extends Component {
  render () {
    return 
  }
}

// FEATURED_ICON /////////////////////////////////////////////////////////////////////////////
export type FeaturedIconProps = {
  children: Node,
  style?: Object
}
export type FeaturedIconState = {}

Modal.FeaturedIcon = class FeaturedIcon extends Component {
  render () {
    return (