<% if title? %>
<%= title %>
<% end %>
x-dimensions="checkSingleLineWrap(dimensions)"<% end %>>
<%= message? ? message : content %>
<% if link? %>
<%= helpers.coco_link(
*@link_data[:args],
**@link_data[:kwargs],
size: :sm,
&@link_data[:block]
) %>
<% end %>
<% if action? || secondary_action? %>
<% if action? %>
<%= coco_button(
*@action_data[:args],
**@action_data[:kwargs],
size: button_size,
&@action_data[:block]
) %>
<% end %>
<% if secondary_action? %>
<%= coco_button(
*@secondary_action_data[:args],
**@secondary_action_data[:kwargs],
size: button_size,
&@secondary_action_data[:block]
) %>
<% end %>
<% end %>
<%= coco_button(
icon: :x,
size: :sm,
theme: :blank,
class: "alert-dismiss-button",
click: "$parent.dismiss()"
) %>