Sha256: 50c395dabeb3727dc607128747984f3c3d54b9aa833b82adc376194c26979a0e

Contents?: true

Size: 326 Bytes

Versions: 7

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module Primer
  # @label SpinnerComponent
  class SpinnerComponentPreview < ViewComponent::Preview
    # @label Default Options
    #
    # @param size [Symbol] select [small, medium, large]
    def default(size: :medium)
      render(Primer::SpinnerComponent.new(size: size))
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
primer_view_components-0.0.104 previews/primer/spinner_component_preview.rb
primer_view_components-0.0.103 previews/primer/spinner_component_preview.rb
primer_view_components-0.0.102 previews/primer/spinner_component_preview.rb
primer_view_components-0.0.101 previews/primer/spinner_component_preview.rb
primer_view_components-0.0.100 previews/primer/spinner_component_preview.rb
primer_view_components-0.0.99 previews/primer/spinner_component_preview.rb
primer_view_components-0.0.98 previews/primer/spinner_component_preview.rb