react-native-vision-camera
Version:
A powerful, high-performance React Native Camera library.
8 lines (7 loc) • 303 B
text/typescript
/**
* Represents the orientation of the camera outputs.
*
* Output orientation can either be fixed to whatever the Preview View's orientation is (`'preview'`),
* or rotate alongside the device even if the Preview View is locked (`'device'`).
*/
export type OutputOrientation = 'device' | 'preview'