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

Function handleChange

packages/shared/src/components/fields/Dropdown.tsx:104–106  ·  view source on GitHub ↗
({ value, index }: SelectParams)

Source from the content-addressed store, hash-verified

102 };
103
104 const handleChange = ({ value, index }: SelectParams): void => {
105 onChange(value, index);
106 };
107
108 const handleKeyboard = (event: React.KeyboardEvent): void => {
109 switch (event.key) {

Callers 1

DropdownFunction · 0.70

Calls 1

onChangeFunction · 0.70

Tested by

no test coverage detected