Module: BetterUi::General::Components::Divider::DividerHelper
- Included in:
- BetterUi::General::Components::Divider
- Defined in:
- app/helpers/better_ui/general/components/divider/divider_helper.rb
Instance Method Summary collapse
-
#bui_divider(theme: :white, orientation: :horizontal, style: :solid, size: :medium, label: nil, height: nil, classes: nil, **html_options) ⇒ String
Genera un divider usando BetterUi::General::Divider::Component.
Instance Method Details
#bui_divider(theme: :white, orientation: :horizontal, style: :solid, size: :medium, label: nil, height: nil, classes: nil, **html_options) ⇒ String
Genera un divider usando BetterUi::General::Divider::Component
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'app/helpers/better_ui/general/components/divider/divider_helper.rb', line 38 def bui_divider( theme: :white, orientation: :horizontal, style: :solid, size: :medium, label: nil, height: nil, classes: nil, ** ) render BetterUi::General::Divider::Component.new( theme: theme, orientation: orientation, style: style, size: size, label: label, height: height, classes: classes, ** ) end |