Auth0 Universal Components
    Preparing search index...

    Interface ComponentAction<Item, Context>

    interface ComponentAction<Item, Context = void> {
        disabled?: boolean;
        onAfter?: (
            item: Item,
            context?: Context,
        ) => boolean | void | Promise<boolean>;
        onBefore?: (item: Item, context?: Context) => boolean;
    }

    Type Parameters

    • Item
    • Context = void
    Index

    Properties

    disabled?: boolean
    onAfter?: (item: Item, context?: Context) => boolean | void | Promise<boolean>
    onBefore?: (item: Item, context?: Context) => boolean