react-native-responsive-mockup-screen
Version:
react-native-responsive-mockup-screen is a small library that provide 2 simple method so that react native developer can code their UI elements fully responsive as per their mockup design.No media query needed.
17 lines (16 loc) • 318 B
JavaScript
import {
widthPercentageToDP,
heightPercentageToDP,
listenOrientationChange,
removeOrientationListener,
widthPixelToDp,
heightPixelToDp,
} from './main';
export {
widthPercentageToDP,
heightPercentageToDP,
listenOrientationChange,
removeOrientationListener,
widthPixelToDp,
heightPixelToDp,
};