As a heading
How it looks (preview)
Warning This is a heading 3
How to call this example
<%= render "govuk_publishing_components/components/warning_text", {
text: "This is a heading 3",
heading_level: 3
} %>
<%= render "govuk_publishing_components/components/warning_text", {
text: "This is a heading 3",
heading_level: 3
} %>