Sha256: 5fb3193b7d1c8082c1e4a458e2612639a5cab9045db2174325c0cdfe85820bd3
Contents?: true
Size: 627 Bytes
Versions: 125
Compression:
Stored size: 627 Bytes
Contents
# frozen_string_literal: true module Primer module Beta # @label CloseButton class CloseButtonPreview < ViewComponent::Preview # @label Playground # # @param type [Symbol] select [button, submit] # @param disabled toggle def playground(type: :button, disabled: false) render(Primer::Beta::CloseButton.new(type: type, disabled: disabled)) end # @label Default options # # @param type [Symbol] select [button, submit] # @snapshot def default(type: :button) render(Primer::Beta::CloseButton.new(type: type)) end end end end
Version data entries
125 entries across 125 versions & 2 rubygems