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

Function useIsHidden

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

Source from the content-addressed store, hash-verified

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

Callers 2

Popover.tsxFile · 0.90
MenuTriggerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected