Sha256: 3d9e970c1fd80478863270f462a56050689349a4773e798704960d535fa8aa14
Contents?: true
Size: 541 Bytes
Versions: 29
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true module Primer module Beta # @label CloseButton class CloseButtonPreview < ViewComponent::Preview # @label Playground # # @param type [Symbol] select [button, submit] def playground(type: :button) render(Primer::Beta::CloseButton.new(type: type)) end # @label Default options # # @param type [Symbol] select [button, submit] def default(type: :button) render(Primer::Beta::CloseButton.new(type: type)) end end end end
Version data entries
29 entries across 29 versions & 1 rubygems