app/components/coco/app/elements/alert/alert.rb in coveragebook_components-0.8.0.beta.3 vs app/components/coco/app/elements/alert/alert.rb in coveragebook_components-0.8.0
- old
+ new
@@ -24,9 +24,10 @@
accepts_option :single_line, from: [true, false]
accepts_option :cloak, from: [true, false], default: true, private: true
accepts_option :condensed, from: [true, false], default: false
renders_one :title
+ renders_one :message
renders_one :action, ->(*args, **kwargs, &block) do
theme = vivid? ? "neutral-dark" : get_option_value(:theme)
@action_data = {args: args, kwargs: kwargs.merge(theme: theme), block: block}
end