JavaScript React Basics Thinking in Components Properties Review

Gregory Engelbrecht
Gregory Engelbrecht
1,917 Points

answer to question 3 was: name: React.PropTypes.string.isRequired, what is wrong with my answer?

Not sure why this answer was marked incorrectly. Am I missing some syntax?

1 Answer

Seth Kroger
MOD
Seth Kroger
Treehouse Moderator 54,226 Points

I just tried it and it does accept React.PropTypes.string.isRequired as the correct answer but not React.PropTypes.string.isRequired, with the comma at the end.