MCPcopy
hub / github.com/reactjs/react-tabs / isTabChild

Function isTabChild

src/helpers/childrenDeepMap.js:4–6  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

2import { isTabPanel, isTab, isTabList } from './elementTypes';
3
4function isTabChild(child) {
5 return isTab(child) || isTabList(child) || isTabPanel(child);
6}
7
8export function deepMap(children, callback) {
9 return Children.map(children, (child) => {

Callers 1

deepMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…