@serenity-is/corelib / DialogAddons / registerComponent
Function: registerComponent()
registerComponent(
key,factory):void
Defined in: src/ui/dialogs/dialogaddons.tsx:364
Registers a component that an addon shows, by the key that the addon gives in Component.
Parameters
key
string
The key, e.g. "Serenity.Pro.Extensions.AuditHistory".
factory
Creates the component in its host element.
Returns
void