Added docs to tooltip component
This commit is contained in:
parent
e65d270260
commit
57ee87b3e4
1 changed files with 4 additions and 0 deletions
|
|
@ -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: ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue