13 lines
277 B
JavaScript
13 lines
277 B
JavaScript
import m from "mithril";
|
|
import { MessageBox } from "./MessageBox";
|
|
import { LoginForm } from "./Login";
|
|
|
|
export const ChatApp = {
|
|
view: function () {
|
|
return m("div", { class: "container" }, [
|
|
m("h1", "A Stupid Chat Application"),
|
|
m(LoginForm)
|
|
]);
|
|
}
|
|
};
|