Class: Protos::Drawer::Content

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/drawer/content.rb

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: The content of a drawer. This would be visible at all times and represents the main content of your page.



9
10
11
# File 'lib/protos/drawer/content.rb', line 9

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