use-orientation
Detects device orientation and subscribe to its changes
Import
Source
Docs
Package
Usage
useOrientation
returns an object with the current orientation of the device:
Angle: 0
Type: landscape-primary
Detects device orientation and subscribe to its changes
Import
Source
Docs
Package
useOrientation
returns an object with the current orientation of the device:
Angle: 0
Type: landscape-primary