class AppActionLinkComponent
Public Class Methods
Source
# File app/components/app_action_link_component.rb, line 13 def initialize(text:, href:, **options) @text = text @href = href @options = options @options[:class] = ["nhsuk-action-link", options[:class]].compact.join(" ") end