Sha256: 155f0dbf51aec6a27718e347cb51456e338b8941418ef2e3a72617444daa782f
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bs5-0.0.4 | app/helpers/bs5/components_helper.rb |