mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-05-04 21:53:59 -04:00
* Refactor useDeviceOrientation to remove extra useEffects * Rotation code cleanup * Update mock with useDeviceOrientationChange
7 lines
144 B
TypeScript
7 lines
144 B
TypeScript
export const useDeviceOrientationChange = jest.fn();
|
|
|
|
export default ( {
|
|
lockToPortrait: jest.fn( ),
|
|
unlockAllOrientations: jest.fn( )
|
|
} );
|