app/components/coco/app/elements/button/button.rb in coveragebook_components-0.8.0.beta.1 vs app/components/coco/app/elements/button/button.rb in coveragebook_components-0.8.0.beta.2
- old
+ new
@@ -34,9 +34,10 @@
DEFAULT_THEME = "primary"
accepts_option :size, from: SIZES, default: :md
accepts_option :theme, from: THEMES, default: DEFAULT_THEME
+ accepts_option :variant
renders_one :dropdown, types: {
content: ->(&block) { block.call },
confirmation: ->(**kwargs) do