app/components/coco/shared/avatar/avatar.rb in coveragebook_components-0.11.0 vs app/components/coco/shared/avatar/avatar.rb in coveragebook_components-0.12.0
- old
+ new
@@ -1,9 +1,9 @@
module Coco
class Avatar < Coco::Component
include Concerns::AcceptsOptions
- accepts_option :size, from: %i[sm md lg xl], default: :md
+ accepts_option :size, from: %i[sm md lg xl full], default: :md
attr_reader :src, :name
def initialize(src:, name: nil, **)
@src = src