Sha256: 88ff0493218200b9f67798098c483a654bbe7913432efa3f7dd6652cfbf8cc7f
Contents?: true
Size: 688 Bytes
Versions: 2
Compression:
Stored size: 688 Bytes
Contents
# frozen_string_literal: true module Yattho 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(Yattho::Alpha::HiddenTextExpander.new(inline: inline, "aria-label": label)) end # @label Default options # @param label [String] text # @param inline [Boolean] toggle def default(label: "No effect", inline: false) render(Yattho::Alpha::HiddenTextExpander.new(inline: inline, "aria-label": 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/hidden_text_expander_preview.rb |
yattho_view_components-0.0.1 | previews/yattho/alpha/hidden_text_expander_preview.rb |