Sha256: 28d9c59731a970bdf15a0165857097cbf3477d35eb1ecdb4e50c9e0aaba05313
Contents?: true
Size: 417 Bytes
Versions: 7
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true module Primer # @label OcticonComponent class OcticonComponentPreview < ViewComponent::Preview # @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
7 entries across 7 versions & 1 rubygems