Class: Protos::Swap::Off

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/swap/off.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 off state for a swap component. This is the default state.



8
9
10
# File 'lib/protos/swap/off.rb', line 8

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