Sha256: d0705035dbd8fbbd5fbc377ce90422f83c53f067d8db62c89854ef48d9ad52e9

Contents?: true

Size: 295 Bytes

Versions: 29

Compression:

Stored size: 295 Bytes

Contents

module Coco
  class Prose < Coco::Component
    include Concerns::AcceptsOptions

    accepts_option :centered, from: [true, false]
    accepts_option :style, from: [:display, :content]

    def call
      render component_tag(class: "coco-prose") do
        content
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.7 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.6 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.5 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.4 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.3 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.2 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.1 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.19.0 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.18.8 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.18.7 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.18.0 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.7 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.6 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.5 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.4 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.3 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.2 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.1 app/components/coco/typography/prose/prose.rb
coveragebook_components-0.17.0 app/components/coco/typography/prose/prose.rb