Sha256: a566f6b4e20301529aad2fdcf179c7588ff7fc7e24eed8bec42b231f8a71595d
Contents?: true
Size: 707 Bytes
Versions: 125
Compression:
Stored size: 707 Bytes
Contents
# frozen_string_literal: true # :nocov: module Primer module Alpha class ActionBar # ActionBar::Item is an internal component that wraps the items in a div with the `ActionBar-item` class. class Divider < Primer::Component def initialize @system_arguments = { tag: :hr, role: :presentation, aria: { hidden: true }, data: { targets: "action-bar.items" }, classes: "ActionBar-item ActionBar-divider" } end def call render(Primer::BaseComponent.new(**@system_arguments)) { content } end end end end end
Version data entries
125 entries across 125 versions & 2 rubygems