Class: Primer::Component

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
Audited::Dsl, ClassNameHelper, FetchOrFallbackHelper, JoinStyleArgumentsHelper, Status::Dsl, TestSelectorHelper, ViewHelper, ViewComponent::PolymorphicSlots, ViewComponent::SlotableV2
Defined in:
app/components/primer/component.rb

Constant Summary collapse

INVALID_ARIA_LABEL_TAGS =
[:div, :span, :p].freeze

Constants included from Status::Dsl

Status::Dsl::STATUSES

Constants included from ViewHelper

ViewHelper::HELPERS

Constants included from TestSelectorHelper

TestSelectorHelper::TEST_SELECTOR_TAG

Constants included from FetchOrFallbackHelper

FetchOrFallbackHelper::InvalidValueError

Method Summary

Methods included from JoinStyleArgumentsHelper

#join_style_arguments

Methods included from TestSelectorHelper

#add_test_selector

Methods included from FetchOrFallbackHelper

#fetch_or_fallback, #fetch_or_fallback_boolean

Methods included from ClassNameHelper

#class_names