in app/components/primer/state_component.rb [51:68]
def initialize(
title:,
scheme: SCHEME_DEFAULT,
tag: TAG_DEFAULT,
size: SIZE_DEFAULT,
**system_arguments
)
@system_arguments = system_arguments
@system_arguments[:title] = title
@system_arguments[:tag] = fetch_or_fallback(TAG_OPTIONS, tag, TAG_DEFAULT)
@system_arguments[:classes] = class_names(
@system_arguments[:classes],
"State",
SCHEME_MAPPINGS[fetch_or_fallback(SCHEME_OPTIONS, scheme, SCHEME_DEFAULT)],
SIZE_MAPPINGS[fetch_or_fallback(SIZE_OPTIONS, size, SIZE_DEFAULT)]
)
end