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

Function isTabDisabled

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

Source from the content-addressed store, hash-verified

17
18// Determine if a tab node is disabled
19function isTabDisabled(node) {
20 return isNode(node) && node.getAttribute('aria-disabled') === 'true';
21}
22
23let canUseActiveElement;
24

Callers 5

getNextTabFunction · 0.85
getPrevTabFunction · 0.85
getFirstTabFunction · 0.85
getLastTabFunction · 0.85
handleClickFunction · 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…