Sha256: 3c375ec821f46ba2b125c4da89124df0712366c8ac2b7ab12134a1b36382e804
Contents?: true
Size: 345 Bytes
Versions: 9
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true module Primer module Forms # :nodoc: class CheckBox < BaseComponent delegate :builder, :form, to: :@input def initialize(input:) @input = input @input.add_label_classes("FormControl-label") @input.add_input_classes("FormControl-checkbox") end end end end
Version data entries
9 entries across 9 versions & 1 rubygems