0.3.0 • Published 10 months ago

react-native-dimensions-toolkit v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

react-native-dimensions-toolkit

A native toolkit of getting correct device screen dimension, including foldable devices close and open screen.

Installation

npm install react-native-dimensions-toolkit

Usage

The result contains {width, height}, which is the current device screen dimension

import { getScreenSize } from 'react-native-dimensions-toolkit';

// ...

const result = await getScreenSize();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.3.0

10 months ago

0.2.0

10 months ago