Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Latest commit

 

History

History
41 lines (31 loc) · 547 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 547 Bytes

rn-handy-utils

Set of useful utils for React Native.

Getting started

Install the library using either Yarn:

yarn add rn-handy-utils

or npm:

npm install rn-handy-utils

Includes

  • Platform utils:
    • isIos
    • isAndroid
    • isIosVersion
    • isAndroidVersion
  • Dimensions utils:
    • getHeightFromRatio
    • getWidthFromRatio
    • getAspectRatio
  • Optimization utils:
    • disableConsoleLogsInProd
  • HOOKS :
    • useComponentSize
    • useTextLines
  • Other utils :
    • openLink
    • mailto

License

MIT