Sha256: 06e23b714716c8b02704390a9648b730e3a4e66532524b6c8856e04ddf0d56d0
Contents?: true
Size: 560 Bytes
Versions: 24
Compression:
Stored size: 560 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
24 entries across 24 versions & 1 rubygems