Skip to content

Fix react-native-responsive-fontsize for iPhone 14.

Notifications You must be signed in to change notification settings

charset404/rfiphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

RFIphone

Fix react-native-responsive-fontsize for iPhone 14.

How to Install

  • Add the RFIphone folder to your components folder.
  • Install react-native-responsive-fontsize

How to Use. Example.

import {RFIphone} from 'RFIphone' // RFIphone directory;

export const Text = styled.Text`
   font-size: ${RFIphone(14)}px;
`

Note: You can import the RFIphone component anywhere in your code and use it for width and height. Just a reminder that this is not a perfect solution, feel free to adapt it as needed.

About

Fix react-native-responsive-fontsize for iPhone 14.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages