Class: Protos::Steps::Step

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/steps/step.rb

Constant Summary collapse

STYLES =

DOCS: Step component that contains a single step in a list of steps

{
  default: "",
  primary: "step-primary",
  secondary: "step-secondary",
  accent: "step-accent",
  info: "step-info",
  success: "step-success",
  warning: "step-warning",
  error: "step-error"
}.freeze

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject



21
22
23
# File 'lib/protos/steps/step.rb', line 21

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