Sha256: d540d51d76048de1b3504caff58b6e1d250b549785cc8e3d4a5438d6f18487bd
Contents?: true
Size: 706 Bytes
Versions: 112
Compression:
Stored size: 706 Bytes
Contents
# frozen_string_literal: true module Primer module Alpha # @label HiddenTextExpander class HiddenTextExpanderPreview < ViewComponent::Preview # @label Playground # @param label [String] text # @param inline [Boolean] toggle def playground(label: "No effect", inline: false) render(Primer::Alpha::HiddenTextExpander.new(inline: inline, "aria-label": label)) end # @label Default options # @param label [String] text # @param inline [Boolean] toggle # @snapshot def default(label: "No effect", inline: false) render(Primer::Alpha::HiddenTextExpander.new(inline: inline, "aria-label": label)) end end end end
Version data entries
112 entries across 112 versions & 2 rubygems