Sha256: 9bfb95fdc1dc3658668ce245d4ae96a52947b83790a557a241c80dc2fc112478
Contents?: true
Size: 374 Bytes
Versions: 25
Compression:
Stored size: 374 Bytes
Contents
module Coco module MenuItems class UserProfile < Coco::Component component_name :user_profile_menu_item renders_one :avatar, ->(**kwargs) do Coco::Avatar.new(name: name, **kwargs, size: :lg) end attr_reader :name, :email def initialize(name:, email:, **) @name = name @email = email end end end end
Version data entries
25 entries across 25 versions & 1 rubygems