Sha256: 764702ecc0b417723555ff5a94971cd02914df7f5bc30e9c587e6afe0056bf09
Contents?: true
Size: 686 Bytes
Versions: 2
Compression:
Stored size: 686 Bytes
Contents
# frozen_string_literal: true module Yattho 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(Yattho::Alpha::HellipButton.new(inline: inline, "aria-label": aria_label)) end # @label Playground # # @param aria_label [String] # @param inline [Boolean] def playground(inline: false, aria_label: "No effect") render(Yattho::Alpha::HellipButton.new(inline: inline, "aria-label": aria_label)) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | previews/yattho/alpha/hellip_button_preview.rb |
yattho_view_components-0.0.1 | previews/yattho/alpha/hellip_button_preview.rb |