Skip to main content

Function: InlineDiagnostic()

InlineDiagnostic(props): Element

Defined in: forms/inlineDiagnostic.tsx:14

Displays an inline diagnostic message in a form.

Unstable: this component will likely change in the future.

Parameters

ParameterTypeDescription

props

{ error?: unknown; message: string; severity: ValidationSeverity; }

props.error?

unknown

Error object to log together with the message on mount.

props.message

string

Diagnostic message to display.

props.severity

ValidationSeverity

Diagnostic severity.

Returns

Element