Fix propTypes runtime error
Closed this issue · 1 comments
jtrein commented
When running the app in a React app without Flow, the app will use the exported propTypes, however there is a small error for savedValue
for Structure
, DatePicker
and Text
, as reported by @jdville03.
Example:
Warning: Failed prop type: The prop
savedValue
is marked as required inDatePicker
, but its value isundefined
.
jdville03 commented
I suspect this may be an issue for any variable type (not just DatePicker and Text) if used in a Structure type.