Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected reserved type string error #51

Open
cgtysnpr opened this issue Oct 31, 2021 · 3 comments
Open

Unexpected reserved type string error #51

cgtysnpr opened this issue Oct 31, 2021 · 3 comments

Comments

@cgtysnpr
Copy link

I'm getting Unexpected reserved type string error. I just used example codes in my project. Can someone help me?

@kbwhodat
Copy link

kbwhodat commented Nov 5, 2021

Update prop types in node_modules/react-native-percentage-circle/index.js to:

 propTypes: {
    color: React.PropTypes.String,
    bgcolor: React.PropTypes.String,
    innerColor: React.PropTypes.String,
    radius: React.PropTypes.Number,
    percent: React.PropTypes.Number,
    borderWidth: React.Proptypes.Number,
    textStyle: React.Proptypes.Array,
    disabled: React.PropTypes.Bool,
  }

@Fat7y99
Copy link

Fat7y99 commented Mar 8, 2023

Hello,
It still gives me the same error in 2023, Are there any other solutions?

@smartywebdev0119
Copy link

smartywebdev0119 commented May 3, 2023

Hello. In "color: React.PropTypes.String", -> Write capital letter in String and else....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants