Sha256: a3b49cc6543036ae967e18b874ef499f5585e79da1e33e4bef2fa5d6722cc615

Contents?: true

Size: 236 Bytes

Versions: 195

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

module Primer
  # Use `Content` as a helper to render content passed to a slot without adding any tags.
  class Content < Primer::Component
    status :stable

    def call
      content
    end
  end
end

Version data entries

195 entries across 195 versions & 2 rubygems

Version Path
openproject-primer_view_components-0.48.0 app/components/primer/content.rb
openproject-primer_view_components-0.47.1 app/components/primer/content.rb
openproject-primer_view_components-0.47.0 app/components/primer/content.rb
primer_view_components-0.34.0 app/components/primer/content.rb
openproject-primer_view_components-0.46.1 app/components/primer/content.rb
openproject-primer_view_components-0.46.0 app/components/primer/content.rb
openproject-primer_view_components-0.45.0 app/components/primer/content.rb
openproject-primer_view_components-0.44.3 app/components/primer/content.rb
openproject-primer_view_components-0.44.2 app/components/primer/content.rb
openproject-primer_view_components-0.44.1 app/components/primer/content.rb
primer_view_components-0.33.0 app/components/primer/content.rb
openproject-primer_view_components-0.44.0 app/components/primer/content.rb
openproject-primer_view_components-0.43.1 app/components/primer/content.rb
openproject-primer_view_components-0.43.0 app/components/primer/content.rb
primer_view_components-0.32.0 app/components/primer/content.rb
openproject-primer_view_components-0.42.0 app/components/primer/content.rb
primer_view_components-0.31.0 app/components/primer/content.rb
openproject-primer_view_components-0.41.1 app/components/primer/content.rb
openproject-primer_view_components-0.41.0 app/components/primer/content.rb
openproject-primer_view_components-0.40.0 app/components/primer/content.rb