Skip to content

Commit

Permalink
Fix action list item playground description control (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron authored Aug 1, 2023
1 parent 4f11f5e commit 040daed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion previews/primer/alpha/action_list_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def item(

item.with_trailing_action(icon: "plus", "aria-label": "Button tooltip", size: :medium) if trailing_action && trailing_action != :none

item.description { description } if description
item.with_description { description } if description

item.with_tooltip(text: "Tooltip text", for_id: "tooltip-test", type: :description) if tooltip
end
Expand Down

0 comments on commit 040daed

Please sign in to comment.