MCPcopy Create free account
hub / github.com/TanStack/devtools / LastName

Function LastName

examples/react/bundling-repro/src/routes/demo/store.tsx:24–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24function LastName() {
25 const lastName = useStore(store, (state) => state.lastName)
26 return (
27 <input
28 type="text"
29 value={lastName}
30 onChange={(e) =>
31 store.setState((state) => ({ ...state, lastName: e.target.value }))
32 }
33 className="bg-white/10 rounded-lg px-4 py-2 outline-none border border-white/20 hover:border-white/40 focus:border-white/60 transition-colors duration-200 placeholder-white/40"
34 />
35 )
36}
37
38function FullName() {
39 const firstName = useStore(store, (state) => state.firstName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected