Sha256: 14a97f3d91f58ef2e1f2852ff03cde374129950b63dc917e5259ced92c38eeea

Contents?: true

Size: 217 Bytes

Versions: 5

Compression:

Stored size: 217 Bytes

Contents

module Components::SeperatorHelper
  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

5 entries across 5 versions & 1 rubygems

Version Path
shadcn-ui-0.0.5 app/helpers/components/seperator_helper.rb
shadcn-ui-0.0.4 app/helpers/components/seperator_helper.rb
shadcn-ui-0.0.3 app/helpers/components/seperator_helper.rb
shadcn-ui-0.0.2 app/helpers/components/seperator_helper.rb
shadcn-ui-0.0.1 app/helpers/components/seperator_helper.rb