diff --git a/lib/pinchflat_web/components/custom_components/text_components.ex b/lib/pinchflat_web/components/custom_components/text_components.ex index 8293b51..3be3647 100644 --- a/lib/pinchflat_web/components/custom_components/text_components.ex +++ b/lib/pinchflat_web/components/custom_components/text_components.ex @@ -147,6 +147,10 @@ defmodule PinchflatWeb.CustomComponents.TextComponents do """ end + @doc """ + Renders a tooltip with the given content + """ + attr :tooltip, :string, required: true attr :position, :string, default: "" attr :tooltip_class, :any, default: ""