MCPcopy Create free account
hub / github.com/dailydotdev/apps / handleMenuTrigger

Function handleMenuTrigger

packages/shared/src/components/fields/Dropdown.tsx:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }, [isVisible, onOpenChange]);
99
100 const handleMenuTrigger = (): void => {
101 setVisibility(!isVisible);
102 };
103
104 const handleChange = ({ value, index }: SelectParams): void => {
105 onChange(value, index);

Callers

nothing calls this directly

Calls 1

setVisibilityFunction · 0.50

Tested by

no test coverage detected