diff options
author | href <href@random.sh> | 2021-09-03 04:04:21 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-03 04:04:21 +0200 |
commit | 5399fc818cf821c75f9f19fd00bf7905ba7fe7e3 (patch) | |
tree | 00408724f9778cc7323b1459782a762626d39b6a /lib/lsg_web/components/message_component.ex | |
parent | assets.. (diff) |
various fixes, web client wip, pubsub events
Diffstat (limited to 'lib/lsg_web/components/message_component.ex')
-rw-r--r-- | lib/lsg_web/components/message_component.ex | 10 |
1 files changed, 10 insertions, 0 deletions
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""" + <div class="inline-block flex-grow cursor-default"><%= @text %></div> + """ + end + +end |