import { FlowError } from '@ory/client'; import { JSX } from 'react'; import { CustomHref } from '../button-link'; /** * UserErrorCardProps * @param title - the title of the error card * @param error - Ory FlowError * @param backUrl - the URL to redirect the user to. A custom function can be passed to the CustomHref type * @param cardImage - card image is usually the company logo * @param contactSupportEmail - the email address to contact support * @param className - css class overrides for the UserErrorCard */ export interface UserErrorCardProps { title?: string; error: FlowError; backUrl: CustomHref | string; cardImage?: string | React.ReactElement; contactSupportEmail?: string; className?: string; } /** * UserErrorCard renders an error card for the user * @see UserErrorCardProps */ export declare const UserErrorCard: ({ title, error, backUrl, cardImage, contactSupportEmail, className, }: UserErrorCardProps) => JSX.Element; //# sourceMappingURL=user-error-card.d.ts.map