79109592

Date: 2024-10-21 10:25:05
Score: 1
Natty:
Report link

In 2024 you can just use adjustsFontSizeToFit combines with numberOfLines={1}

  <Text
    numberOfLines={1}
    adjustsFontSizeToFit
  >
    {label}
  </Text>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kamil P