matrix-dimension/web/app/configs/complex-bot/config-screen/config-screen.complex-bot.component.ts
Travis Ralston 2c1366d9d7 Very early support for configuring complex bots
Using the RSS Bot as an example. Notably missing features:
* Configuration (feeds) not retrieved
* No actual configuration page
2018-03-25 21:02:32 -06:00

16 lines
516 B
TypeScript

import { ComplexBotComponent } from "../complex-bot.component";
import { Component, ContentChild, Input, TemplateRef } from "@angular/core";
@Component({
selector: "my-complex-bot-config",
templateUrl: "config-screen.complex-bot.component.html",
styleUrls: ["config-screen.complex-bot.component.scss"],
})
export class ConfigScreenComplexBotComponent {
@Input() botComponent: ComplexBotComponent<any>;
@ContentChild(TemplateRef) botParamsTemplate: TemplateRef<any>;
constructor() {
}
}