Sha256: e2df356ab1ba4f81bdf40873ca31aec90a844b09ed618c5f56ed96beddabc112

Contents?: true

Size: 403 Bytes

Versions: 34

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

34 entries across 34 versions & 1 rubygems

Version Path
coveragebook_components-0.17.0 app/components/coco/utilities/placeholder/placeholder.rb
coveragebook_components-0.16.0 app/components/coco/utilities/placeholder/placeholder.rb
coveragebook_components-0.15.0 app/components/coco/utilities/placeholder/placeholder.rb
coveragebook_components-0.14.0 app/components/coco/utilities/placeholder/placeholder.rb
coveragebook_components-0.13.1 app/components/coco/utilities/placeholder/placeholder.rb
coveragebook_components-0.13.0 app/components/coco/utilities/placeholder/placeholder.rb
coveragebook_components-0.12.2 app/components/coco/shared/placeholder/placeholder.rb
coveragebook_components-0.12.1 app/components/coco/shared/placeholder/placeholder.rb
coveragebook_components-0.12.0 app/components/coco/shared/placeholder/placeholder.rb
coveragebook_components-0.11.0 app/components/coco/shared/placeholder/placeholder.rb
coveragebook_components-0.10.1.beta.2 app/components/coco/shared/placeholder/placeholder.rb
coveragebook_components-0.10.1.beta.1 app/components/coco/shared/placeholder/placeholder.rb
coveragebook_components-0.10.1.beta.0 app/components/coco/shared/placeholder/placeholder.rb
coveragebook_components-0.10.0 app/components/coco/base/placeholder/placeholder.rb