defmodule OopsieDaisy.Components.Link do @moduledoc """ Link component with DaisyUI styling. Generated from: tmp/daisyui/packages/docs/src/routes/(routes)/components/link/+page.md ## Examples <.link>Content """ use Phoenix.Component # Component attr(:rest, :global, include: ~w(disabled form name value type)) @doc "Additional CSS classes" attr(:class, :string, default: "") @doc "Color variant" attr(:variant, :atom, default: nil, values: [nil, :primary, :secondary, :accent, :success, :info, :warning, :error] ) @doc """ Renders a Link component. """ slot(:inner_block, required: true) def link(assigns) do ~H"""