(props: { readonly message: string })
| 57 | |
| 58 | /** Inline destructive alert for a form-level error message. */ |
| 59 | export 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`). */ |
nothing calls this directly
no outgoing calls
no test coverage detected