Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const ComponentMappingContext

ComponentMappingContext: React.Context<typeof ComponentMapping> = ...

Functions

Const MapTo

  • MapTo<P>(resourceTypes: string | string[]): MapperFunction<P>

withComponentMappingContext

  • withComponentMappingContext<P>(Component: React.ComponentType<P>): MappingContextFunction<P>

Const withMappable

  • Makes a React component mappable to AEM resourceTypes by adding Model config and AEM editing capabilities to it.

    Type parameters

    Parameters

    • component: ComponentType<P>

      React representation for the component

    • Optional editConfig: EditConfig<P>

      Configuration object for enabling the edition capabilities.

    • Optional config: ReloadableModelProperties

      Model configuration object.

    Returns ComponentType<P>

    The resulting decorated Component

Generated using TypeDoc