Sha256: dacb809d84db97a6542afdf82b3dbaa04b8829409ade47f36242bd6666a71332
Contents?: true
Size: 757 Bytes
Versions: 3
Compression:
Stored size: 757 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] 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
3 entries across 3 versions & 1 rubygems