Closed lukearndt closed 3 years ago
The listItemNumber style applies to a <Text> component, but it was defined as a ViewStyle. This produced TypeScript errors when passing the property as part of a styles prop.
listItemNumber
<Text>
ViewStyle
styles
This commit changes the listItemNumber type to a TextStyle.
TextStyle
Thanks!
The
listItemNumber
style applies to a<Text>
component, but it was defined as aViewStyle
. This produced TypeScript errors when passing the property as part of astyles
prop.This commit changes the
listItemNumber
type to aTextStyle
.