React Native spacing mixin
Handy spacing mixin like in Bootstrap 4 (https://getbootstrap.com/docs/4.0/utilities/spacing/)
Usage
import spacing from 'react-native-spacing-mixin' //// your component code here// const styles = StyleSheet;
Custom base spacing
You can specify custom base spacing for the whole app
import spacingConf from 'react-native-spacing-mixin' spacingConfspacing = 40;