Added docs to tooltip component

This commit is contained in:
Kieran Eglin 2025-02-11 14:46:24 -08:00
parent e65d270260
commit 57ee87b3e4
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -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: ""