UNPKG

react-native-full-responsive

Version:

Create a fully responsive React Native app for all supported platforms

18 lines (17 loc) 623 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useResponsiveDim = exports.useRD = void 0; var _useResponsiveWidth = require("./useResponsiveWidth"); var _useResponsiveHeight = require("./useResponsiveHeight"); const useResponsiveDim = (widthPercentage, heightPercentage) => { const width = (0, _useResponsiveWidth.useResponsiveWidth)(widthPercentage); const height = (0, _useResponsiveHeight.useResponsiveHeight)(heightPercentage); return { width, height }; }; exports.useRD = exports.useResponsiveDim = useResponsiveDim; //# sourceMappingURL=useResponsiveDim.js.map