app/components/lookbook/params_editor/field/component.rb in lookbook-1.0.0.beta.2 vs app/components/lookbook/params_editor/field/component.rb in lookbook-1.0.0.beta.3
- old
+ new
@@ -1,6 +1,6 @@
module Lookbook
- class ParamsEditor::Field::Component < Lookbook::Component
+ class ParamsEditor::Field::Component < Lookbook::BaseComponent
def initialize(input:, name:, default: nil, value: nil, input_type: nil, type: nil, options: nil, **html_attrs)
@input = input
@name = name
@value = value
@default_value = default