mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-01-06 04:49:05 -05: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( )
|
|
} );
|