(type: any)
| 308 | } |
| 309 | |
| 310 | export function isSimpleFunctionComponent(type: any): boolean { |
| 311 | return ( |
| 312 | typeof type === 'function' && |
| 313 | !shouldConstruct(type) && |
| 314 | type.defaultProps === undefined |
| 315 | ); |
| 316 | } |
| 317 | |
| 318 | export function isFunctionClassComponent( |
| 319 | type: (...args: Array<any>) => mixed, |
no test coverage detected