MCPcopy Create free account
hub / github.com/Azure/static-web-apps-cli / add

Function add

e2e/samples/app/astro-solid/src/components/Counter.jsx:6–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4export default function Counter({ children }) {
5 const [count, setCount] = createSignal(0);
6 const add = () => setCount(count() + 1);
7 const subtract = () => setCount(count() - 1);
8
9 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected