@@ -102,26 +102,26 @@ import { numberFormat } from "@freakycoder/react-native-helpers";
102102
103103## DeviceInfo Props
104104
105- | Property | Type | Description |
106- |-----------------|:-------:|----------------------------------------------------------------------------------------------------------------------------|
107- | isIOS | boolean | returns if it is an iOS device or not |
108- | isAndroid | boolean | returns if it is an Android device or not |
109- | ScreenWidth | number | get the device's screen width |
110- | ScreenHeight | number | get the device's screen height |
111- | ScreenScale | number | get the device's screen scale ratio |
112- | ScreenFontScale | number | get the device's screen font scale ratio (depends on the user's device font scale setting) |
113- | WindowWidth | number | get the device's window width |
114- | WindowHeight | number | get the device's window height |
115- | WindowScale | number | get the device's window scale ratio |
116- | WindowFontScale | number | get the device's window font scale ratio (depends on the user's device font scale setting) |
117- | PlatformVersion | number | returns the platform version |
118- | ScreenMin | number | get the device's screen width/height which are **minimum** depend on the landscape or portrait mode |
119- | ScreenMax | number | get the device's screen width/height which are **maximum** depend on the landscape or portrait mode |
120- | vh | number | get the device's height but as a **viewport unit** |
121- | vw | number | get the device's width but as a **viewport unit** |
122- | vmin | number | get the device's screen width/height as a **viewport unit** which are **minimum** depend on the landscape or portrait mode |
123- | vmax | number | get the device's screen width/height as a **viewport unit** which are **maximum** depend on the landscape or portrait mode |
124- | deviceLanguage | string | get the device's language (en_US) |
105+ | Property | Type | Description |
106+ |------------------- |:-------:|----------------------------------------------------------------------------------------------------------------------------|
107+ | isIOS | boolean | returns if it is an iOS device or not |
108+ | isAndroid | boolean | returns if it is an Android device or not |
109+ | ScreenWidth | number | get the device's screen width |
110+ | ScreenHeight | number | get the device's screen height |
111+ | ScreenScale | number | get the device's screen scale ratio |
112+ | ScreenFontScale | number | get the device's screen font scale ratio (depends on the user's device font scale setting) |
113+ | WindowWidth | number | get the device's window width |
114+ | WindowHeight | number | get the device's window height |
115+ | WindowScale | number | get the device's window scale ratio |
116+ | WindowFontScale | number | get the device's window font scale ratio (depends on the user's device font scale setting) |
117+ | PlatformVersion | number | returns the platform version |
118+ | ScreenMin | number | get the device's screen width/height which are **minimum** depend on the landscape or portrait mode |
119+ | ScreenMax | number | get the device's screen width/height which are **maximum** depend on the landscape or portrait mode |
120+ | vh | number | get the device's height but as a **viewport unit** |
121+ | vw | number | get the device's width but as a **viewport unit** |
122+ | vmin | number | get the device's screen width/height as a **viewport unit** which are **minimum** depend on the landscape or portrait mode |
123+ | vmax | number | get the device's screen width/height as a **viewport unit** which are **maximum** depend on the landscape or portrait mode |
124+ | getDeviceLanguage | string | get the device's language (en_US) |
125125
126126## DeviceInfo Props
127127
0 commit comments