Default
How it looks (preview)
Imagine this is a preview of the attachment.
How to call this example
<%= render "components/media_with_actions", {
actions: [
sanitize("<a class=\"govuk-link\" href=\"#\">Insert attachment</a>"),
sanitize("<a class=\"govuk-link\" href=\"#\">Preview</a>"),
sanitize("<a class=\"govuk-link\" href=\"#\">Edit file</a>"),
sanitize("<a class=\"govuk-link\" href=\"#\">Delete attachment</a>")
]
} do %>
Imagine this is a preview of the attachment.<% end %>