app/components/coco/base/button/button.rb in coveragebook_components-0.8.0 vs app/components/coco/base/button/button.rb in coveragebook_components-0.8.1
- old
+ new
@@ -14,10 +14,10 @@
THEMES = []
DEFAULT_THEME = nil
- BUTTON_ATTRS = %i[type value name disabled href]
+ BUTTON_ATTRS = %i[type value name disabled href target]
tag_name :button
tag_attr(*BUTTON_ATTRS)
accepts_option :disabled, from: [true, false]