Sha256: 2f90ede3604669c8cdb02d9ea17dfd29b4d4ec07c64283905c9578ab1331d50e
Contents?: true
Size: 505 Bytes
Versions: 7
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module Primer module Beta # @label BaseButton class BaseButtonPreview < ViewComponent::Preview # @label Default options # # @param type [Symbol] select [button, submit] # @param tag [Symbol] select [button, a, summary] # @param block [Boolean] toggle def default(tag: :button, block: false, type: :button) render(Primer::Beta::BaseButton.new(tag: tag, block: block, type: type)) { "Button" } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems