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

Function isTabNode

src/components/UncontrolledTabs.jsx:14–16  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

12
13// Determine if a node from event.target is a Tab element
14function isTabNode(node) {
15 return isNode(node) && node.getAttribute('data-rttab');
16}
17
18// Determine if a tab node is disabled
19function isTabDisabled(node) {

Callers 1

isTabFromContainerFunction · 0.85

Calls 1

isNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…