UNPKG

react-native-trimmer

Version:

A Trimmer component that renders in iOS and Android and built entirely in React Native.

12 lines (11 loc) 562 B
import { OrientationInfo, OrientationLock, WebOrientationLock } from './ScreenOrientation.types'; declare const _default: { readonly name: string; supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean>; getPlatformOrientationLockAsync(): Promise<WebOrientationLock>; getOrientationAsync(): Promise<OrientationInfo>; lockAsync(orientationLock: OrientationLock): Promise<void>; lockPlatformAsync(webOrientationLock: WebOrientationLock): Promise<void>; unlockAsync(): Promise<void>; }; export default _default;