Class: Protos::ChatBubble::Header

Inherits:
Protos::Component show all
Defined in:
lib/protos/chat_bubble/header.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: The header of a chat bubble. This is typically used to display the name of the user who sent the message.



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

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