Untitled
unknown
plain_text
2 years ago
1.2 kB
3
Indexable
// Customizable Area Start // @ts-nocheck // @ts-ignore import { IBlock } from '../../framework/src/IBlock'; import { Message } from '../../framework/src/Message'; import { BlockComponent } from '../../framework/src/BlockComponent'; import MessageEnum, { getName } from '../../framework/src/Messages/MessageEnum'; import { runEngine } from '../../framework/src/RunEngine'; import { CommonContext } from './CommonContextProvider'; export interface Props { navigation: any; id: string; route: any; } interface S {} interface SS { id: any; } export default class CustomBottomBarClassController extends BlockComponent< Props, S, SS > { // Customizable Area End static contextType = CommonContext; constructor(props: Props) { super(props); this.receive = this.receive.bind(this); // Customizable Area Start this.subScribedMessages = [ getName(MessageEnum.CountryCodeMessage), getName(MessageEnum.RestAPIResponceMessage), getName(MessageEnum.ReciveUserCredentials), ]; this.state = {}; runEngine.attachBuildingBlock(this as IBlock, this.subScribedMessages); } async componentDidMount() {} async receive(from: string, message: Message) {} } // Customizable Area End
Editor is loading...