2

I am getting a typescript error when I try to use icons 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",

How can I fix this error?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.