Sha256: d9f1440c015e93ace70ca0e774400e427e10f4c931eb13b1c6835cbacacafe95

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

module Components::CardHelper
  def render_card(footer: nil, title: nil, subtitle: nil, body: nil, **options, &block)
    render "components/ui/card", title: title, subtitle: subtitle, footer: footer, body: (block ? capture(&block) : body), block:, options: options
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shadcn-ui-0.0.2 app/helpers/components/card_helper.rb