title: Adjust font size based on screen size of smartphone React native
body: <p>Hey guys im using <code>const {width,height} = Dimensions.get('window');
  </code> to adjust my font based on screen width size.
  using like this....</p>
  
  <pre><code>fontSize:width/24
  </code></pre>
  
  <p>its looks good in iPhone and android device like 5.5 inch device but in my Galaxy s9 it looks horrible I want to set my font based on screen which can be adjust by itself..
  how can I do it </p>