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.121 app/components/primer/content.rb
primer_view_components-0.0.120 app/components/primer/content.rb
primer_view_components-0.0.119 app/components/primer/content.rb
primer_view_components-0.0.118 app/components/primer/content.rb
primer_view_components-0.0.117 app/components/primer/content.rb
primer_view_components-0.0.116 app/components/primer/content.rb
primer_view_components-0.0.115 app/components/primer/content.rb
primer_view_components-0.0.114 app/components/primer/content.rb
primer_view_components-0.0.113 app/components/primer/content.rb
primer_view_components-0.0.112 app/components/primer/content.rb
primer_view_components-0.0.111 app/components/primer/content.rb
primer_view_components-0.0.110 app/components/primer/content.rb
primer_view_components-0.0.109 app/components/primer/content.rb
primer_view_components-0.0.108 app/components/primer/content.rb
primer_view_components-0.0.107 app/components/primer/content.rb
primer_view_components-0.0.106 app/components/primer/content.rb
primer_view_components-0.0.105 app/components/primer/content.rb
primer_view_components-0.0.104 app/components/primer/content.rb
primer_view_components-0.0.103 app/components/primer/content.rb
primer_view_components-0.0.102 app/components/primer/content.rb