pegar tamanho da tela react native code example
Example: dimensions react native
import { Dimensions } from 'react-native';
console.log({
width: Dimensions.get('window').width,
height: Dimensions.get('window').height
})
import { Dimensions } from 'react-native';
console.log({
width: Dimensions.get('window').width,
height: Dimensions.get('window').height
})