@nguyentc21/react-native-tooltip
Version:
Simple tooltip for React native app
21 lines • 362 B
JavaScript
const getLimitScreenPosition = args => {
const {
dimension
} = args;
const {
width,
height
} = dimension;
return {
minTop: 0,
minBottom: 0,
minLeft: 0,
minRight: 0,
maxTop: height,
maxBottom: height,
maxLeft: width,
maxRight: width
};
};
export { getLimitScreenPosition };
//# sourceMappingURL=index.js.map