Module: LocoMotion::Concerns::LinkableComponent
- Extended by:
- ActiveSupport::Concern
- Included in:
- Daisy::Actions::ButtonComponent, Daisy::DataDisplay::AvatarComponent, Daisy::DataDisplay::BadgeComponent, Daisy::DataDisplay::CardComponent, Daisy::DataDisplay::FigureComponent, Daisy::DataDisplay::StatComponent, Daisy::Navigation::DockSectionComponent, Daisy::Navigation::LinkComponent
- Defined in:
- lib/loco_motion/concerns/linkable_component.rb
Overview
Include this module to enable link functionality in a component. When an href is provided, the component will render as an <a> tag.