@logicwind/react-native-fold-detection
Version:
The purpose of the package is to provide details regarding the Android folding capability.
26 lines • 649 B
TypeScript
export declare enum FoldingFeatureState {
FLAT = "FLAT",
HALF_OPENED = "HALF_OPENED"
}
export declare enum FoldingFeatureOrientation {
VERTICAL = "VERTICAL",
HORIZONTAL = "HORIZONTAL"
}
export declare enum FoldingFeatureOcclusionType {
NONE = "NONE",
FULL = "FULL"
}
export type LayoutInfo = {
state: FoldingFeatureState;
occlusionType: FoldingFeatureOcclusionType;
orientation: FoldingFeatureOrientation;
isSeparating: boolean;
isFoldSupported: boolean;
bounds?: {
top: number;
bottom: number;
left: number;
right: number;
};
};
//# sourceMappingURL=index.d.ts.map