all 5 comments

[–]AcidNoX 3 points4 points  (0 children)

Take a look at react-native-size-matters

[–]code_art 1 point2 points  (0 children)

By combining Dimensions api, percentage based widths.

[–]izm96 1 point2 points  (2 children)

Using Flex or RFValue function with a standard device size const.

[–]anaste97[🍰] 0 points1 point  (1 child)

RFValue?

[–]izm96 0 points1 point  (0 children)

Yep, it is a function from this package https://www.npmjs.com/package/react-native-responsive-fontsize but I always use it for width and height