You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing with react-native, you need to manually adjust your app to look great on a variety of different screen sizes. That's a tedious job.
23
23
react-native-size-matters provides some simple tooling to make your scaling a whole lot easier.
24
24
The idea is to develop once on a standard ~5" screen mobile device and then simply apply the provided utils.
25
-
📖 You can read more about what led to this library on my blog post, which can be found in [this repo](./examples/BlogPost) or at [Medium](https://medium.com/soluto-engineering/size-matters-5aeeb462900a).
25
+
📖 You can read more about what led to this library on my blog post, which can be found in [this repo](./examples/BlogPost) or at [Medium](https://medium.com/soluto-engineering/size-matters-5aeeb462900a).
26
26
27
27
## API
28
28
### Scaling Functions
@@ -47,9 +47,9 @@ Will return a linear scaled result of the provided size, based on your device's
47
47
Sometimes you don't want to scale everything in a linear manner, that's where moderateScale comes in.
48
48
The cool thing about it is that you can control the resize factor (default is 0.5).
49
49
If normal scale will increase your size by +2X, moderateScale will only increase it by +X, for example:
0 commit comments