MCPcopy Create free account
hub / github.com/bufferhead-code/nextjs-use-php / onClick

Function onClick

src/app/components/UsePhpClientComponent.tsx:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 const [output, setOutput] = useState<string>('');
9
10 async function onClick() {
11 const out: string = await phpHelloWorld();
12 setOutput(out);
13 }
14
15 return (
16 <div>

Callers

nothing calls this directly

Calls 1

phpHelloWorldFunction · 0.90

Tested by

no test coverage detected