* Iterates through children that are "valid elements". * * The provided forEachFunc(child, index) will be called for each * leaf child with the index reflecting the position relative to "valid components".
(children, func)
| 10845 | |
| 10846 | |
| 10847 | function forEach(children, func) { |
| 10848 | var index = 0; |
| 10849 | external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Children.forEach(children, function (child) { |
| 10850 | if (external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.isValidElement(child)) func(child, index++); |
| 10851 | }); |
| 10852 | } |
| 10853 | |
| 10854 | |
| 10855 | // CONCATENATED MODULE: ./src/Carousel.js |
no outgoing calls
no test coverage detected
searching dependent graphs…