Sha256: f53474601908f2d86222ec94e7e39a1450ca1f2e1ba5588626d678d854a6aaa0

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

module Renalware
  # Renders article markup with ttle and optional actions etc.
  # We use <article> extensively so this is a useful component that lets us
  # build more and more useful components. Other components can use this component
  # in their markup.
  class ArticleComponent < ApplicationComponent
    pattr_initialize [:title]
    with_content_areas :title_link, :actions
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
renalware-core-2.0.159 app/components/renalware/article_component.rb
renalware-core-2.0.158 app/components/renalware/article_component.rb
renalware-core-2.0.157 app/components/renalware/article_component.rb
renalware-core-2.0.156 app/components/renalware/article_component.rb
renalware-core-2.0.155 app/components/renalware/article_component.rb