defmodule SigmaKit.Components.Containers do use Phoenix.LiveComponent attr :shadow, :boolean, default: true attr :title, :string, default: nil slot :action_bar slot :inner_block def box(assigns) do ~H"""
{@title}
{render_slot(@action_bar)}
{render_slot(@inner_block)}
""" end end