app/components/govuk_component/notification_banner_component.html.erb
<%= tag.div(**html_attributes) do %>
<div class="<%= brand %>-notification-banner__header">
<%= content_tag(title_tag, class: "#{brand}-notification-banner__title", id: title_id) do %>
<%= title_content %>
<% end %>
</div>
<div class="<%= brand %>-notification-banner__content">
<% headings.each do |heading| %>
<%= heading %>
<% end %>
<%= content || text %>
</div>
<% end %>