diff options
author | Hailey <me@haileyok.com> | 2024-08-05 12:21:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-05 12:21:34 -0700 |
commit | 18b423396b75d8b4348a434412d0da1f38230717 (patch) | |
tree | 3a3032668f498bb2d17fbee7514493d4f82cc6b3 /modules/expo-bluesky-swiss-army/src/PlatformInfo/index.native.ts | |
parent | fb278384c64f55e5037275a23f4bd7af91dc7274 (diff) | |
download | voidsky-18b423396b75d8b4348a434412d0da1f38230717.tar.zst |
Add `PlatformInfo` module (#4877)
Diffstat (limited to 'modules/expo-bluesky-swiss-army/src/PlatformInfo/index.native.ts')
-rw-r--r-- | modules/expo-bluesky-swiss-army/src/PlatformInfo/index.native.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.native.ts b/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.native.ts new file mode 100644 index 000000000..e05f173d6 --- /dev/null +++ b/modules/expo-bluesky-swiss-army/src/PlatformInfo/index.native.ts @@ -0,0 +1,7 @@ +import {requireNativeModule} from 'expo-modules-core' + +const NativeModule = requireNativeModule('ExpoPlatformInfo') + +export function getIsReducedMotionEnabled(): boolean { + return NativeModule.getIsReducedMotionEnabled() +} |