Class: Protos::Timeline::Left

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/timeline/left.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: Content on the left (on daisyui “start”) side of a timeline. We chose not to use start/end because of the keywork conflict with ruby.



9
10
11
# File 'lib/protos/timeline/left.rb', line 9

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