(Component)
| 23800 | }; |
| 23801 | |
| 23802 | function shouldConstruct(Component) { |
| 23803 | var prototype = Component.prototype; |
| 23804 | return !!(prototype && prototype.isReactComponent); |
| 23805 | } |
| 23806 | |
| 23807 | function isSimpleFunctionComponent(type) { |
| 23808 | return typeof type === 'function' && !shouldConstruct(type) && type.defaultProps === undefined; |
no outgoing calls
no test coverage detected