Class: Protos::Card::Body

Inherits:
Protos::Component show all
Defined in:
lib/protos/card/body.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 main content area of a card



8
9
10
# File 'lib/protos/card/body.rb', line 8

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