@mica/sdk (SDK contract v1)
    Preparing search index...

    Interface AppActionOptions

    Toast wording for useAppAction's wrapped work. Moved here from the facet in MICA-179.

    interface AppActionOptions {
        error?: string;
        success?: string;
        title?: string;
    }
    Index
    error?: string

    Toast to show when it throws. Defaults to the error's own message.

    success?: string

    Toast to show when the work succeeds. Omit for actions that speak for themselves.

    title?: string

    Heading on both toasts, for an app that names itself in its notifications.