diff --git a/lib/chiya_web/components/public_components.ex b/lib/chiya_web/components/public_components.ex index b98c3d5..0f2461a 100644 --- a/lib/chiya_web/components/public_components.ex +++ b/lib/chiya_web/components/public_components.ex @@ -69,30 +69,19 @@ defmodule ChiyaWeb.PublicComponents do Renders a note-header with title. """ attr :class, :string, default: nil - attr :inline, :boolean, default: false - slot :inner_block, required: true + slot :title, required: true slot :subtitle - slot :actions def header(assigns) do ~H""" -
-
-

- <%= render_slot(@inner_block) %> - - <%= render_slot(@subtitle) %> - -

-

- <%= render_slot(@subtitle) %> -

-
-
<%= render_slot(@actions) %>
+
+

+ <%= render_slot(@title) %> +

+

+ <%= render_slot(@subtitle) %> +

""" end