FormidableLabs / ecology

Documentation generator for collections of react components.
MIT License
107 stars 13 forks source link

prevent crash due to enum/union props that don't resolve to array literals #46

Open brentschroeter opened 8 years ago

brentschroeter commented 8 years ago

React Docgen sometimes returns a variable name (a string) instead of an array for component properties that are enums or unions, causing a "function undefined" error when value.map() is called.