MCPcopy
hub / github.com/shadcn-ui/taxonomy / onSubmit

Function onSubmit

components/search.tsx:12–19  ·  view source on GitHub ↗
(event: React.SyntheticEvent)

Source from the content-addressed store, hash-verified

10
11export function DocsSearch({ className, ...props }: DocsSearchProps) {
12 function onSubmit(event: React.SyntheticEvent) {
13 event.preventDefault()
14
15 return toast({
16 title: "Not implemented",
17 description: "We're still working on the search.",
18 })
19 }
20
21 return (
22 <form

Callers

nothing calls this directly

Calls 1

toastFunction · 0.90

Tested by

no test coverage detected