Sha256: e728c758515bcb36e38e04046aca5b5d454512368dbbf231cba4f429c5307c23
Contents?: true
Size: 561 Bytes
Versions: 148
Compression:
Stored size: 561 Bytes
Contents
# frozen_string_literal: true module Ariadne # Adds a footer to the bottom of every page. class FooterComponent < Ariadne::Component DEFAULT_CLASSES = "ariadne-py-5" # @example Default # # <%= render(Ariadne::FooterComponent.new) %> # # @param classes [String] <%= link_to_classes_docs %> # @param attributes [Hash] <%= link_to_attributes_docs %> def initialize(classes: "", attributes: {}) @classes = class_names( DEFAULT_CLASSES, classes, ) @attributes = attributes end end end
Version data entries
148 entries across 148 versions & 1 rubygems