Sha256: ff4ecc9751b5c0ab4fe0bbf7209de6254f2e2120b25089d33f34a6a422c1c737
Contents?: true
Size: 433 Bytes
Versions: 61
Compression:
Stored size: 433 Bytes
Contents
# frozen_string_literal: true module Primer module Forms # :nodoc: class RadioButtonGroup < BaseComponent delegate :builder, :form, to: :@input def initialize(input:) @input = input @input.add_label_classes("FormControl-label", "mb-2") @input.add_input_classes("FormControl-radio-group-wrap") Primer::Forms::Utils.classify(@input.input_arguments) end end end end
Version data entries
61 entries across 61 versions & 2 rubygems