Class: Protos::ChatBubble::Image

Inherits:
Protos::Component show all
Defined in:
lib/protos/chat_bubble/image.rb

Instance Method Summary collapse

Methods inherited from Protos::Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: An image within a chat bubble. This would typically be an avatar component.



9
10
11
# File 'lib/protos/chat_bubble/image.rb', line 9

def view_template(&)
  div(**attrs, &)
end