react-native-orientation-locker icon indicating copy to clipboard operation
react-native-orientation-locker copied to clipboard

OrientationType is not matching exported constants

Open mujehoxe opened this issue 10 months ago • 0 comments

export enum OrientationType { "PORTRAIT" = "PORTRAIT", "PORTRAIT-UPSIDEDOWN" = "PORTRAIT-UPSIDEDOWN", "LANDSCAPE-LEFT" = "LANDSCAPE-LEFT", "LANDSCAPE-RIGHT" = "LANDSCAPE-RIGHT", "FACE-UP" = "FACE-UP", "FACE-DOWN" = "FACE-DOWN", "UNKNOWN" = "UNKNOWN", }

export const LANDSCAPE_LEFT = 'LANDSCAPE_LEFT';

using a hyphen (-) on the OrientationTypes while using an underscore on the exported constant

mujehoxe avatar Aug 04 '23 22:08 mujehoxe