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