interface ErrorSummaryCardProps {
    errorListItems: ErrorSummaryListItem[];
    lang?: "sv" | "en";
    titleElementType?: ElementType<any, (keyof IntrinsicElements)>;
}

Properties

errorListItems: ErrorSummaryListItem[]

Array containing a list of validation errors to remedy.

lang?: "sv" | "en"

Language used in translated copy. Defaults to "sv".

titleElementType?: ElementType<any, (keyof IntrinsicElements)>

Change the component of the Title element. Use this to separate styling from semantics, for instance if you need an H2 heading to look like an H3.