* Traverses children that are typically specified as `props.children`, but * might also be specified through attributes: * * - `traverseAllChildren(this.props.children, ...)` * - `traverseAllChildren(this.props.leftPanelChildren, ...)` * * The `traverseContext` is an optional argum
(children, callback, traverseContext)
| 1171 | |
| 1172 | |
| 1173 | function traverseAllChildren(children, callback, traverseContext) { |
| 1174 | if (children == null) { |
| 1175 | return 0; |
| 1176 | } |
| 1177 | |
| 1178 | return traverseAllChildrenImpl(children, '', callback, traverseContext); |
| 1179 | } |
| 1180 | /** |
| 1181 | * Generate a key string that identifies a component within a set. |
| 1182 | * |
no test coverage detected