React-native-size-matters npm

import { scale, verticalScale, moderateScale } from 'react-native-size-matters';

const Component = props =>
    <View style={{
        width: scale(30),
        height: verticalScale(50),
          margin:moderateScale(10),
        padding: moderateScale(5)
    }}/>;
Cooperative Caribou