react-native-auto-scales

화면 auto scale 적용 라이브러리

Usage no npm install needed!

<script type="module">
  import reactNativeAutoScales from 'https://cdn.skypack.dev/react-native-auto-scales';
</script>

README

react-native-auto-scales

리엑트 네이티브 앱 만들때 Auto Scale 적용을 위한 라이브러리

History

  • guidelineBaseWidth 350 -> 360 변경

  • guidelineBaseWidth를 입력값으로 변경

  • 선언

import StyleSheet from 'react-native-auto-scales';
  • 사용
const styles = StyleSheet.create({ 
    container : { 
      flex:1, 
      backgroundColor:'#000000', 
      paddingLeft:30, 
      paddingRight:30, 
    } 
}, 380);