({children, separator, debugIds, id}: Props)
| 10 | }; |
| 11 | |
| 12 | export const Wrap = ({children, separator, debugIds, id}: Props): any => { |
| 13 | const separated = |
| 14 | isUndefined(separator) || !isArray(children) |
| 15 | ? children |
| 16 | : arrayMap(children, (child, c) => (c > 0 ? [separator, child] : child)); |
| 17 | return debugIds && !isUndefined(id) ? [id, ':{', separated, '}'] : separated; |
| 18 | }; |
nothing calls this directly
no test coverage detected
searching dependent graphs…