Skip to content

Commit

Permalink
Add target prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lsimmons98 committed Dec 23, 2024
1 parent 12f1d15 commit abbab7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= pb_content_tag do %>
<%= pb_rails("button", props: {type: object.type, loading: object.loading, link: object.link, new_window:object.new_window, variant: object.variant, disabled: object.disabled, dark: object.dark}) do %>
<%= pb_rails("button", props: {type: object.type, loading: object.loading, link: object.link, new_window:object.new_window, variant: object.variant, target: object.target, disabled: object.disabled, dark: object.dark}) do %>
<%= pb_rails("icon", props: {icon: object.icon, fixed_width: true, dark: object.dark}) %>
<% end %>
<% end %>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class CircleIconButton < Playbook::KitBase
prop :link
prop :new_window, type: Playbook::Props::Boolean,
default: false
prop :target
def classname
generate_classname("pb_circle_icon_button_kit")
end
Expand Down

0 comments on commit abbab7a

Please sign in to comment.