Sha256: e2df356ab1ba4f81bdf40873ca31aec90a844b09ed618c5f56ed96beddabc112

Contents?: true

Size: 403 Bytes

Versions: 33

Compression:

Stored size: 403 Bytes

Contents

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

    accepts_option :size, from: [:auto, :full], default: :auto
    accepts_option :prose, from: [true, false], default: false
    accepts_option :boxed, from: [true, false], default: true

    attr_reader :text_content

    def initialize(text_content: nil, **)
      @text_content = text_content
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

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