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

Function onClick

packages/shared/src/components/fields/ImageInput.tsx:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 const inputRef = useRef<HTMLInputElement>();
68 const [image, setImage] = useState(initialValue || fallbackImage);
69 const onClick = () => {
70 inputRef.current.click();
71 };
72
73 const { onFileChange: handleFile } = useFileInput({
74 acceptedTypes: acceptedTypesList,

Callers 8

BookmarkButtonFunction · 0.50
NotificationItemLegacyFunction · 0.50
NotificationItemFunction · 0.50
handleClickFunction · 0.50
ListDrawerItemFunction · 0.50
ProfileSectionItemFunction · 0.50
handleClickFunction · 0.50
onPostCardClickFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected