Sha256: 5974c8966e116ca9c3c1d8767a5287cd06fea42843077d534e0b3dbbc1cc3ef0
Contents?: true
Size: 793 Bytes
Versions: 20
Compression:
Stored size: 793 Bytes
Contents
# frozen_string_literal: true require_relative '../../components/govuk/header' module CCS module FrontendHelpers module GovUKFrontend # = GOV.UK Header # # This helper is used for generating the header component from the # {https://design-system.service.gov.uk/components/header GDS - Components - Header} module Header # Generates the HTML for the GOV.UK Header component # # @param (see CCS::Components::GovUK::Header#initialize) # # @option (see CCS::Components::GovUK::Header#initialize) # # @return (see CCS::Components::GovUK::Header#render) def govuk_header(**options) Components::GovUK::Header.new(context: self, **options).render end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems