(dimension, actualRefVal = window.width)
| 52 | } |
| 53 | |
| 54 | export function responsiveWidth(dimension, actualRefVal = window.width) { |
| 55 | // 375 is iPhone width |
| 56 | return getSizeRelativeToReference(dimension, 375, actualRefVal); |
| 57 | } |
| 58 | |
| 59 | export function responsiveHeight(dimension, actualRefVal = window.height) { |
| 60 | // 812 is iPhone height |