From 5399fc818cf821c75f9f19fd00bf7905ba7fe7e3 Mon Sep 17 00:00:00 2001 From: href Date: Fri, 3 Sep 2021 04:04:21 +0200 Subject: various fixes, web client wip, pubsub events --- lib/lsg_web/components/message_component.ex | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/lsg_web/components/message_component.ex (limited to 'lib/lsg_web/components/message_component.ex') diff --git a/lib/lsg_web/components/message_component.ex b/lib/lsg_web/components/message_component.ex new file mode 100644 index 0000000..2381411 --- /dev/null +++ b/lib/lsg_web/components/message_component.ex @@ -0,0 +1,10 @@ +defmodule LSGWeb.MessageComponent do + use Phoenix.Component + + def content(assigns) do + ~H""" +
<%= @text %>
+ """ + end + +end -- cgit v1.2.3