app/components/solidus_admin/ui/toast/component.rb in solidus_admin-0.0.2 vs app/components/solidus_admin/ui/toast/component.rb in solidus_admin-0.1.0

- old
+ new

@@ -1,18 +1,18 @@ # frozen_string_literal: true class SolidusAdmin::UI::Toast::Component < SolidusAdmin::BaseComponent SCHEMES = { default: %w[ - bg-gray-800 text-white + bg-full-black text-white ], error: %w[ bg-red-500 text-white ], } def initialize(text:, icon: nil, scheme: :default) @text = text @icon = icon - @scheme = scheme.to_sym + @scheme = scheme end end