Skip to content

Commit

Permalink
fix attributes for navigation slot
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Nov 26, 2023
1 parent 52b2bf3 commit ce9adc7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/doggo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ defmodule Doggo do
doc: """
Slot for a single button left of the title, typically used for a menu button
that toggles a drawer, or for a back link.
"""
""" do
attr :label, :string, required: true
attr :on_click, JS, required: true
end

slot :action, doc: "Slot for action buttons right of the title." do
attr :label, :string, required: true
Expand Down

0 comments on commit ce9adc7

Please sign in to comment.