interface ErrorCardProps

Passed to ErrorCard by a page or a form. The message usually comes from friendlyFetchError.

Properties

title: string

Says what failed.

message: string
optional
actions: ReactNode

Buttons shown under the card, such as "Retry".

Usage

import { type ErrorCardProps } from "src/components/shared/ErrorCard.tsx";