Sha256: dab44eea3ff90e1ed9d3e2890725ac6d723aad9efd51e7dead328cbfec4f486d
Contents?: true
Size: 604 Bytes
Versions: 44
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true module Primer module Beta # @label Spinner class SpinnerPreview < ViewComponent::Preview # @label Playground # # @param size [Symbol] select [small, medium, large] def playground(size: :medium, sr_text: "Loading content...") render(Primer::Beta::Spinner.new(size: size, sr_text: sr_text)) end # @label Default Options # # @param size [Symbol] select [small, medium, large] # @snapshot def default(size: :medium) render(Primer::Beta::Spinner.new(size: size)) end end end end
Version data entries
44 entries across 44 versions & 2 rubygems