Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 269 Bytes

File metadata and controls

11 lines (7 loc) · 269 Bytes

You can get the application window's width and height through dimension api

Usage

import { View, Render, Window, Text, Image, Button, Dimensions } from 'lvgljs-ui';
import React, { useState } from 'react';

const { width, height } = Dimensions.window