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
primer_view_components-0.0.101 app/components/primer/content.rb
primer_view_components-0.0.100 app/components/primer/content.rb
primer_view_components-0.0.99 app/components/primer/content.rb
primer_view_components-0.0.98 app/components/primer/content.rb
primer_view_components-0.0.97 app/components/primer/content.rb
primer_view_components-0.0.96 app/components/primer/content.rb
primer_view_components-0.0.95 app/components/primer/content.rb
primer_view_components-0.0.94 app/components/primer/content.rb
primer_view_components-0.0.93 app/components/primer/content.rb
primer_view_components-0.0.92 app/components/primer/content.rb
primer_view_components-0.0.91 app/components/primer/content.rb
primer_view_components-0.0.90 app/components/primer/content.rb
primer_view_components-0.0.89 app/components/primer/content.rb
primer_view_components-0.0.88 app/components/primer/content.rb
primer_view_components-0.0.87 app/components/primer/content.rb
primer_view_components-0.0.86 app/components/primer/content.rb
primer_view_components-0.0.85 app/components/primer/content.rb
primer_view_components-0.0.84 app/components/primer/content.rb
primer_view_components-0.0.83 app/components/primer/content.rb
primer_view_components-0.0.82 app/components/primer/content.rb