Skip to content

Commit

Permalink
Fix action list item playground description control
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Aug 1, 2023
1 parent d4c2c8c commit 254b114
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 254b114

Please sign in to comment.