Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react-native how to get size of screen

import { Dimensions } from 'react-native';

dimensions: {
width: Dimensions.get('window').width,
height: Dimensions.get('window').height
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #size #screen
ADD COMMENT
Topic
Name
7+3 =