Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6290

Typescript error for Icon from react-native-elements

$
0
0

I am getting an typescript error when i try to use Icon from react-native-elements.

This is the error.

Property 'tvParallaxProperties' is missing in type '{ type: string; name: string; color: string; size: number; }' but required in type 'Pick<IconButtonProps & { type?: string | undefined; Component?: typeof Component | undefined; reverse?: boolean | undefined; raised?: boolean | undefined; containerStyle?: StyleProp<...>; ... 5 more ...; brand?: boolean | undefined; } & Partial<...>, "backgroundColor" | ... 68 more ... | "brand">'.

versions

"react-native": "^0.64.1","react-native-elements": "^3.4.1",

I am getting an typescript error when i try to use Icon from react-native-elements.How to remove this error?


Viewing all articles
Browse latest Browse all 6290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>