Sha256: 1cffc34441991e9d3d3d0bca1151f85c4e5f0377001cb6bbe179628c161fcec7
Contents?: true
Size: 498 Bytes
Versions: 3
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true module Bs5 module ComponentsHelper def bs5_accordion(*args) render AccordionComponent.new(*args) do |accordion| yield accordion if block_given? end end def bs5_alert(*args) render AlertComponent.new(*args) do yield if block_given? end end def bs5_badge(*args) render BadgeComponent.new(*args) end def bs5_close_button(*args) render CloseButtonComponent.new(*args) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bs5-0.0.7 | app/helpers/bs5/components_helper.rb |
bs5-0.0.6 | app/helpers/bs5/components_helper.rb |
bs5-0.0.5 | app/helpers/bs5/components_helper.rb |