Sha256: 555b4ed85a185c5cc8646c2bc3ea8adf27def64321b63a7346de122e6fe6370c
Contents?: true
Size: 759 Bytes
Versions: 140
Compression:
Stored size: 759 Bytes
Contents
# frozen_string_literal: true module Primer module Alpha RadioButton = Primer::FormComponents.from_input(Primer::Forms::Dsl::RadioButtonInput) # Radio buttons represent one of a set of options and are rendered as `<input type="radio">` in HTML. # **NOTE**: You probably want to use the <%= link_to_component(Primer::Alpha::RadioButtonGroup) %> # component instead, as it allows rendering a group of options. # # @form_usage # class ExampleForm < ApplicationForm # form do |example_form| # example_form.radio_button(attributes) # end # end class RadioButton < Primer::Component status :alpha # @!method initialize # # @!macro form_input_arguments end end end
Version data entries
140 entries across 140 versions & 2 rubygems