import Bind from "@web-atoms/core/dist/core/Bind";
import XNode from "@web-atoms/core/dist/core/XNode";
import { ContentPage } from "@web-atoms/web-controls/dist/mobile-app/MobileApp";
import Center from "../../controls/Center";

export default class DemoPage extends ContentPage {

    public parameters: { title: string, message : string};

    public init() {

        this.renderer = <Center title={this.parameters.title}>
            <div text={this.parameters.message}/>
        </Center>;
    }

}
