Sha256: c37090fee78973538ce65cb8c7b1a02736cf725a7497c2535839b0ea30a79fa6
Contents?: true
Size: 741 Bytes
Versions: 112
Compression:
Stored size: 741 Bytes
Contents
# frozen_string_literal: true module Primer module Beta # @label Octicon class OcticonPreview < ViewComponent::Preview # @label Playground # # @param aria_label [String] # @param size [Symbol] select [xsmall, small, medium] def playground(size: :small, aria_label: nil) render(Primer::Beta::Octicon.new(icon: :people, size: size, "aria-label": aria_label)) end # @label Default Options # # @param aria_label [String] # @param size [Symbol] select [xsmall, small, medium] # @snapshot def default(size: :small, aria_label: nil) render(Primer::Beta::Octicon.new(icon: :people, size: size, "aria-label": aria_label)) end end end end
Version data entries
112 entries across 112 versions & 2 rubygems