import { DynamicItemExtensionBase } from '@anglr/dynamic';
/**
 * Extension that sets custom component data to instance
 */
export class CustomComponentDataExtension extends DynamicItemExtensionBase {
    //######################### public methods - overrides #########################
    /**
     * @inheritdoc
     */
    async onInit() {
        if (this.instance) {
            await this.instance.processCustomComponentData(this.metadata.name);
        }
    }
}
//# sourceMappingURL=customComponentData.extension.js.map