(
element: any,
props: any,
extraProps: any,
children: any
)
| 3 | import {DashComponent, DashLayoutPath} from '../types/component'; |
| 4 | |
| 5 | export function createElement( |
| 6 | element: any, |
| 7 | props: any, |
| 8 | extraProps: any, |
| 9 | children: any |
| 10 | ) { |
| 11 | const allProps = mergeRight(props, extraProps); |
| 12 | if (Array.isArray(children)) { |
| 13 | return React.createElement(element, allProps, ...children); |
| 14 | } |
| 15 | return React.createElement(element, allProps, children); |
| 16 | } |
| 17 | |
| 18 | export function isDryComponent(obj: any) { |
| 19 | return ( |
no outgoing calls
no test coverage detected
searching dependent graphs…