MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / handleInstallInputChange

Function handleInstallInputChange

packages/client/src/app/AppShell.tsx:2670–2679  ·  view source on GitHub ↗
(
    event: React.ChangeEvent<HTMLInputElement>,
  )

Source from the content-addressed store, hash-verified

2668 }
2669
2670 function handleInstallInputChange(
2671 event: React.ChangeEvent<HTMLInputElement>,
2672 ) {
2673 const file = event.currentTarget.files?.[0];
2674 event.currentTarget.value = "";
2675 if (!file) {
2676 return;
2677 }
2678 void installAppFile(file, selectedSimulator);
2679 }
2680
2681 function handleAppInstallDragEnter(event: React.DragEvent<HTMLElement>) {
2682 if (!dragEventHasFiles(event.dataTransfer)) {

Callers

nothing calls this directly

Calls 1

installAppFileFunction · 0.85

Tested by

no test coverage detected