Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ close
Function
close
packages/shared/src/components/dropdown/DropdownMenu.tsx:159–162 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
157
});
158
159
const close = () => {
160
props.onOpenChange?.(false);
161
setOpen(false);
162
};
163
164
// A controlled root's open prop wins over the local state, as it does
165
// in Radix below.
Callers
nothing calls this directly
Calls
1
setOpen
Function · 0.85
Tested by
no test coverage detected