Axinom Mosaic Libraries
    Preparing search index...

    Interface QuickEditRegistration<T>

    interface QuickEditRegistration<T> {
        component: Element;
        generateDetailsLink?: false | ((item: T) => LocationDescriptor<unknown>);
        icon?: string | IconName;
        label: string;
    }

    Type Parameters

    • T
    Index

    Properties

    component: Element

    Component to render

    generateDetailsLink?: false | ((item: T) => LocationDescriptor<unknown>)

    Function which will be used to generate the detailsLink in QuickEditContext.

    If set to undefined, generateItemLink prop from Explorer will be used.

    If set to false, detailsLink will not be generated.

    icon?: string | IconName

    Optional built in icon. This prop also accepts an img src.

    label: string

    The label of the action.