Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get height and width of screen in react native

import { Dimensions } from 'react-native';

const width = Dimensions.get('window').width;
const height = Dimensions.get('window').height;

//publisher - Bathila Sanvidu Jayasundara - FullStack Developer
Source by search.brave.com #
 
PREVIOUS NEXT
Tagged: #height #width #screen #react #native
ADD COMMENT
Topic
Name
6+1 =