Sha256: 1884c0afb4d62861cfbda7d8ee438aaa58ecbf40b84c6758edd963444b596a5f
Contents?: true
Size: 775 Bytes
Versions: 125
Compression:
Stored size: 775 Bytes
Contents
# frozen_string_literal: true module Primer module Alpha # @label HellipButton class HellipButtonPreview < ViewComponent::Preview # @label Default Options # # @param aria_label [String] # @param inline [Boolean] # @snapshot def default(inline: false, aria_label: "No effect") render(Primer::Alpha::HellipButton.new(inline: inline, "aria-label": aria_label)) end # @label Playground # # @param aria_label [String] # @param inline [Boolean] # @param disabled [Boolean] def playground(inline: false, aria_label: "No effect", disabled: false) render(Primer::Alpha::HellipButton.new(inline: inline, "aria-label": aria_label, disabled: disabled)) end end end end
Version data entries
125 entries across 125 versions & 2 rubygems