Skip to content

cool-hooks/use-expo

 
 

Repository files navigation

expo hooks

Complementary hooks for Expo

releases builds demo

Usage   —   Changelog


expo install use-expo

Usage

You can import these hooks with two methods, install use-expo or @use-expo/<group> package.

import { useBrightness, usePermissions } from 'use-expo';
// or
import { useBrightness } from '@use-expo/brightness';
import { usePermissions } from '@use-expo/permissions';

use-expo includes all hooks and, because of that, requires all peer dependencies. It's recommended only to install the hooks you use to avoid unnecessary peer dependency warnings.


with ❤️ byCedric

About

Complementary hooks for Expo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.7%
  • JavaScript 1.3%