Sha256: adeb5b74a4d34bd3db58e5eec2212e7875cefb2b21a8becbfffb45e2d15f81dc

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

# frozen_string_literal: true

module Primer
  # @private
  class Component < ViewComponent::Base
    include ClassNameHelper
    include FetchOrFallbackHelper
    include OcticonsHelper
    include JoinStyleArgumentsHelper

    # sourced from https://primer.style/doctocat/usage/front-matter#status
    STATUSES = {
      alpha: :alpha,
      beta: :beta,
      stable: :stable,
      deprecated: :deprecated
    }.freeze

    def self.status
      STATUSES[:alpha]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
primer_view_components-0.0.21 app/components/primer/component.rb
primer_view_components-0.0.20 app/components/primer/component.rb
primer_view_components-0.0.19 app/components/primer/component.rb