MCPcopy Create free account
hub / github.com/adobe/react-spectrum / useIsHidden

Function useIsHidden

packages/react-aria/src/collections/Hidden.tsx:101–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100/** Returns whether the component is in a hidden subtree. */
101export function useIsHidden(): boolean {
102 return useContext(HiddenContext);
103}

Callers 2

Popover.tsxFile · 0.90
MenuTriggerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected