Module: Components::SeparatorHelper

Defined in:
app/helpers/components/separator_helper.rb

Instance Method Summary collapse

Instance Method Details

#render_separator(options = {}) ⇒ Object



2
3
4
5
# File 'app/helpers/components/separator_helper.rb', line 2

def render_separator(options = {})
  options = {class: "shrink-0 bg-border h-[1px] w-full #{options[:class]}"}.reverse_merge(options)
   :div, "", options
end