Sha256: 4610b1037da525e69527a69a8d4b6d63be2de44dace2edca245069d221081bdd

Contents?: true

Size: 570 Bytes

Versions: 3

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

require "octicons_helper/helper"

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

    # 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.26 app/components/primer/component.rb
primer_view_components-0.0.25 app/components/primer/component.rb
primer_view_components-0.0.24 app/components/primer/component.rb