React Native Responsive Helper provides responsive sizes for responsive UI design
npm install react-native-responsive-helper
import { responsiveSize,responsiveHeight } from 'react-native-responsive-helper';
// ...
const styles = StyleSheet.create({
...
text: {
...
fontSize: responsiveSize(21),
height: responsiveHeight(100),
...
}
...
})
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library