summaryrefslogtreecommitdiff
path: root/lib/lsg_web/components/message_component.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg_web/components/message_component.ex')
-rw-r--r--lib/lsg_web/components/message_component.ex10
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