defmodule OopsieDaisy.Components.Stat do @moduledoc """ Stat component with DaisyUI styling. Generated from: tmp/daisyui/packages/docs/src/routes/(routes)/components/stat/+page.md ## Examples <.stat>Content """ use Phoenix.Component # Component attr(:rest, :global, include: ~w(disabled form name value type)) @doc "Additional CSS classes" attr(:class, :string, default: "") @doc """ Renders a Stat component. """ slot(:inner_block, required: true) def stat(assigns) do ~H"""
<%= render_slot(@inner_block) %>
""" end end