Answers for "react native dimensions height"

9

dimensions react native

import { Dimensions } from 'react-native';

console.log({
	width: Dimensions.get('window').width,
	height: Dimensions.get('window').height
})
Posted by: Guest on June-11-2020
3

width 100% react native

import { Dimensions } from 'react-native';

width: ${(Dimensions.get('window').width)}px;
Posted by: Guest on November-24-2020

Code answers related to "react native dimensions height"

Code answers related to "Javascript"

Browse Popular Code Answers by Language