Module: BetterUi::General::Components::Container::ContainerHelper
- Defined in:
- app/helpers/better_ui/general/components/container/container_helper.rb
Instance Method Summary collapse
-
#bui_container(html_content: nil, fluid: false, max_width: :lg, padding: :medium, background: :white, border: false, **html_options, &block) ⇒ String
Genera un container usando BetterUi::General::Container::Component.
Instance Method Details
#bui_container(html_content: nil, fluid: false, max_width: :lg, padding: :medium, background: :white, border: false, **html_options, &block) ⇒ String
Genera un container usando BetterUi::General::Container::Component
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'app/helpers/better_ui/general/components/container/container_helper.rb', line 36 def bui_container( html_content: nil, fluid: false, max_width: :lg, padding: :medium, background: :white, border: false, **, &block ) render BetterUi::General::Container::Component.new( html_content: html_content, fluid: fluid, max_width: max_width, padding: padding, background: background, border: border, ** ), &block end |