Sha256: 7a989bd6d36708b2f5025de33cbf776c3a45423b033cdce268540305554d8d82

Contents?: true

Size: 375 Bytes

Versions: 7

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

module Primer
  # @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::HellipButton.new(inline: inline, "aria-label": aria_label))
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
primer_view_components-0.0.104 previews/primer/hellip_button_preview.rb
primer_view_components-0.0.103 previews/primer/hellip_button_preview.rb
primer_view_components-0.0.102 previews/primer/hellip_button_preview.rb
primer_view_components-0.0.101 previews/primer/hellip_button_preview.rb
primer_view_components-0.0.100 previews/primer/hellip_button_preview.rb
primer_view_components-0.0.99 previews/primer/hellip_button_preview.rb
primer_view_components-0.0.98 previews/primer/hellip_button_preview.rb