Sha256: 3ff1fa3da267ee09c05e6a19066f2c4ad166a1b65da9246eceb582bed5660147

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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