You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some jest test running on my app. I am using typescript 5.0.4 with React Native 0.73.0 and react-native-toggle-element 2.0.1.
I am getting this error when integrating my own custom themes.
Property 'thumbButtonStyle' is incompatible with index signature.
Type '{ activeBackgroundColor: string; inActiveBackgroundColor: string; width: number; height: number; }' is not assignable to type 'ViewStyle | TextStyle | ImageStyle'.
Object literal may only specify known properties, but 'activeBackgroundColor' does not exist in type 'ViewStyle | TextStyle | ImageStyle'. Did you mean to write 'backgroundColor'?
Has anyone experienced this issue before? How would I fix this?
The text was updated successfully, but these errors were encountered:
Technaur
changed the title
activeBackgroundColor' does not exist in type 'ViewStyle | TextStyle | ImageStyle'
'activeBackgroundColor' does not exist in type 'ViewStyle | TextStyle | ImageStyle'
Apr 9, 2024
I have some jest test running on my app. I am using typescript 5.0.4 with React Native 0.73.0 and react-native-toggle-element 2.0.1.
I am getting this error when integrating my own custom themes.
Has anyone experienced this issue before? How would I fix this?
The text was updated successfully, but these errors were encountered: