( type: Type, key: Key, ref: Ref, props: Props )
| 11 | // ReactElement |
| 12 | |
| 13 | const ReactElement = function ( |
| 14 | type: Type, |
| 15 | key: Key, |
| 16 | ref: Ref, |
| 17 | props: Props |
| 18 | ): ReactElementType { |
| 19 | const element = { |
| 20 | $$typeof: REACT_ELEMENT_TYPE, |
| 21 | type, |
| 22 | key, |
| 23 | ref, |
| 24 | props, |
| 25 | __mark: 'KaSong' |
| 26 | }; |
| 27 | return element; |
| 28 | }; |
| 29 | |
| 30 | export function isValidElement(object: any) { |
| 31 | return ( |
no outgoing calls
no test coverage detected