Sha256: 77db55ea831eb62309db6ff18d13be69c8706ca0445f72ed7ca681aa568d85fe
Contents?: true
Size: 571 Bytes
Versions: 9
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true module UiBibz::Ui::Core::Icons::Components class GlyphText < UiBibz::Ui::Core::Component # See UiBibz::Ui::Core::Component.initialize # Render html tag def pre_render content_tag :span, content, html_options end private def component_html_data super transform end def component_html_classes super << %w[fa-layers-text fa-inverse] end def transform @data_html_options_builder.add 'fa_transform', value: options[:transform] if options[:transform] end end end
Version data entries
9 entries across 9 versions & 1 rubygems