UNPKG

173 BJavaScriptView Raw
1import { moderateScale } from 'react-native-size-matters';
2function normalize(number, factor = 0.25) {
3 return moderateScale(number, factor);
4}
5export default normalize;