Axinom Mosaic Libraries
    Preparing search index...

    Type Alias ActionHandler<TValues, TSubmitResponse>

    ActionHandler: (
        stationData: {
            submitResponse: TSubmitResponse | undefined;
            values: TValues;
        },
    ) => Promise<ErrorType | undefined | void>
    | ErrorType
    | undefined
    | void

    A function to handle an action execution on a FormStation. If action can not be performed, an error can be thrown which will then be displayed by the FormStation.

    Type Parameters

    • TValues = FormikValues
    • TSubmitResponse = unknown

    Type Declaration