defmodule Moon.Design.Dropdown.Footer do @moduledoc "Optional dropdown header" use Moon.StatelessComponent, slot: "footer" alias Moon.Design.Button.IconButton alias Moon.Design.Button alias Moon.Icon @doc "Data-testid attribute for HTML tag" prop(testid, :string) @doc "Id attribute for HTML tag" prop(id, :string) @doc "Additional Taiilwind classes" prop(class, :css_class) @doc "Inner content of the component" slot(default) def render(assigns) do ~F"""
<#slot>
to navigate
to select
to close
""" end end