Sha256: 37d199782a8c038fe43bc53d1fd4c689335fa07a7322843796b93add9e20859c
Contents?: true
Size: 774 Bytes
Versions: 5
Compression:
Stored size: 774 Bytes
Contents
# frozen_string_literal: true module Optics class IconPreview < ViewComponent::Preview # @param emphasis select {{ Optics::Icon::Component::EMPHASES }} # @param filled toggle # @param name # @param size select {{ Optics::Icon::Component::SIZES }} # @param title # @param weight select {{ Optics::Icon::Component::WEIGHTS }} def default( # rubocop:disable Metrics/ParameterLists emphasis: 'normal', filled: false, name: 'settings', size: 'normal', title: nil, weight: 'normal' ) render( Optics::Icon::Component.new( emphasis:, filled:, name:, size:, title:, weight: ) ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems