Sha256: 0a8d8d92d3d3298e7fe1e6db8639b6d91e9d9c3c032873b335a1212c7cfa9f37

Contents?: true

Size: 217 Bytes

Versions: 6

Compression:

Stored size: 217 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/helpers/components/separator_helper.rb
shadcn-ui-0.0.14 app/helpers/components/separator_helper.rb
shadcn-ui-0.0.13 app/helpers/components/separator_helper.rb
shadcn-ui-0.0.12 app/helpers/components/separator_helper.rb
shadcn-ui-0.0.10 app/helpers/components/separator_helper.rb
shadcn-ui-0.0.8 app/helpers/components/separator_helper.rb