({
nativeEvent,
}: NativeSyntheticEvent<TextLayoutEventData>)
| 151 | : theme.colors.onSurfaceVariant; |
| 152 | |
| 153 | const onTextLayout = ({ |
| 154 | nativeEvent, |
| 155 | }: NativeSyntheticEvent<TextLayoutEventData>) => { |
| 156 | setNumOfLines(nativeEvent.lines.length); |
| 157 | }; |
| 158 | |
| 159 | // Label is cut off on Android, when centered "labelMedium" text |
| 160 | // has more than 4 lines, so there is a need to decrease the letter spacing. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…