Sha256: 5ecf0fa3ea10e3c7add21317d6c3cd7ed727d7d59f002ee8da372e1417eedc04
Contents?: true
Size: 423 Bytes
Versions: 23
Compression:
Stored size: 423 Bytes
Contents
module Coco module App module Elements module MenuItems class UserProfile < Coco::Component 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 end end
Version data entries
23 entries across 23 versions & 1 rubygems