Module: Sizeable
- Extended by:
- ActiveSupport::Concern
- Included in:
- ButtonComponent, ButtonToComponent, MenuComponent, SegmentComponent
- Defined in:
- app/components/concerns/sizeable.rb
Overview
Sizeable — adds a ‘size` string attribute.
Valid sizes: mini, tiny, small, large, big, huge, massive
Usage:
class ButtonComponent < Component
include Sizeable
end