MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / FormErrorAlert

Function FormErrorAlert

packages/react/src/lib/integration-add.tsx:59–65  ·  view source on GitHub ↗
(props: { readonly message: string })

Source from the content-addressed store, hash-verified

57
58/** Inline destructive alert for a form-level error message. */
59export function FormErrorAlert(props: { readonly message: string }) {
60 return (
61 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
62 <p className="text-[12px] text-destructive">{props.message}</p>
63 </div>
64 );
65}
66
67/** The slug-collision alert with a link to the existing integration. Render
68 * gated by the caller (typically `show && !adding`). */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected