in app/components/primer/base_button.rb [21:37]
def initialize(
tag: DEFAULT_TAG,
type: DEFAULT_TYPE,
block: false,
**system_arguments
)
@system_arguments = system_arguments
@system_arguments[:tag] = fetch_or_fallback(TAG_OPTIONS, tag, DEFAULT_TAG)
@system_arguments[:type] = fetch_or_fallback(TYPE_OPTIONS, type, DEFAULT_TYPE) if @system_arguments[:tag] == :button
@system_arguments[:classes] = class_names(
system_arguments[:classes],
"btn-block" => block
)
end