Class: Protos::Steps::Step
- Defined in:
- lib/protos/steps/step.rb
Constant Summary collapse
- Styles =
DOCS: Step component that contains a single step in a list of steps
Types::Coercible::Symbol.enum( :default, :primary, :secondary, :accent, :info, :success, :warning, :error )
- STYLES =
{ 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
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
32 33 34 |
# File 'lib/protos/steps/step.rb', line 32 def view_template(&) li(**attrs, &) end |