Skip to content

@camera.ui/sdk / storage / ToastMessage

Interface: ToastMessage

Defined in: storage/index.ts:297

Toast notification message.

Returned from a submit handler (JsonSchemaSubmit.onClick) inside a FormSubmitResponse to surface a transient banner in the UI — for example to confirm that a credential check succeeded or failed.

Properties

message

message: string

Defined in: storage/index.ts:301

Human-readable message text.


type

type: "success" | "info" | "warning" | "error"

Defined in: storage/index.ts:299

Severity — controls the icon/color of the banner.