import { Dimensions } from 'react-native'

module.exports = {
  get visibleHeight() {
    return Dimensions.get('window').height
  },
}

import { Dimensions } from 'react-native'

module.exports = {
  get visibleHeight() {
    return Dimensions.get('screen').height
  },
}

Use screen dimension as visible height