Sha256: 869ea6ee425cc013efc25f8c3cb624278803789b87f6275638dda68d0524f2b7
Contents?: true
Size: 723 Bytes
Versions: 22
Compression:
Stored size: 723 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] 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
22 entries across 22 versions & 1 rubygems