Skip to content

Commit

Permalink
mark action bar item slot as required
Browse files Browse the repository at this point in the history
  • Loading branch information
woylie committed Dec 27, 2023
1 parent ece3712 commit 2712912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/doggo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defmodule Doggo do

attr :rest, :global, doc: "Any additional HTML attributes."

slot :item do
slot :item, required: true do
attr :label, :string, required: true
attr :on_click, JS, required: true
end
Expand Down

0 comments on commit 2712912

Please sign in to comment.