Module: BetterUi::General::Components::Text::TextHelper
- Included in:
- ApplicationHelper
- Defined in:
- app/helpers/better_ui/general/components/text/text_helper.rb
Instance Method Summary collapse
-
#bui_text(text = nil, theme: :default, size: :medium, align: :left, weight: :normal, style: :normal, classes: '', **html_options, &block) ⇒ String
Genera un testo usando BetterUi::General::Text::Component.
Instance Method Details
#bui_text(text = nil, theme: :default, size: :medium, align: :left, weight: :normal, style: :normal, classes: '', **html_options, &block) ⇒ String
Genera un testo usando BetterUi::General::Text::Component
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'app/helpers/better_ui/general/components/text/text_helper.rb', line 57 def bui_text( text = nil, theme: :default, size: :medium, align: :left, weight: :normal, style: :normal, classes: '', **, &block ) render BetterUi::General::Text::Component.new( text: text, theme: theme, size: size, align: align, weight: weight, style: style, classes: classes, ** ), &block end |