how to apply PropType in react-native functional component?

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


how to apply PropType in react-native functional component?



I am trying to validate props with PropType but my eslist compiler showing me an error, see image



please correct me whats wrong with this?



enter image description here









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

uYoNCMhGTqopFc,UWtGXoLvNSM2 u,wrXE5VXKllu5e3F
xqk3uNZDtbU aHui

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Current 93