                                                    :children children})}}))))
 
 (defn autocomplete-option [props]
-  (let [{:keys [innerRef isFocused children isSelected innerProps]} (keywordize-keys (js->clj props))]
-    (cmp/menu-item
-      (merge innerProps
-             {:buttonRef innerRef
-              :selected  isFocused
-              :component "div"
-              :style     {:fontWeight (if isSelected 500 400)}}) children)))
+  (cmp/menu-item
+    (js/Object.assign (gobject/get props "innerProps")
+      #js {:buttonRef (gobject/get props "innerRef")
+           :selected  (gobject/get props "isFocused")
+           :component "div"
+           :style     #js {:fontWeight (if (gobject/get props "isSelected") 500 400)}})
+    (gobject/get props "children")))
 
 (defn autocomplete [props]
   (cmp/no-ssr

          :className "Swarmpit-progress-button"}))]))

(defn autocomplete-input [props]
  (let [{:keys [inputRef] :as p} (keywordize-keys (js->clj props))]
    (html
      [:div (merge {:ref inputRef}
                   (dissoc p :inputRef))])))

(defn autocomplete-no-options-mssg [props]
  (let [{:keys [innerProps children]} (keywordize-keys (js->clj props))]
    (cmp/typography
      (merge innerProps
             {:color "textSecondary"
              :style {:padding "8px 16px"}}) children)))

(defn autocomplete-placeholder [props]
  (let [{:keys [innerProps children]} (keywordize-keys (js->clj props))]
    (cmp/typography
      (merge innerProps
             {:color "textSecondary"

                      :padding  "10px 15px"}}) children)))

(defn autocomplete-single-value [props]
  (let [{:keys [children]} (js->clj props :keywordize-keys true)]
    (cmp/typography
      {:style {:fontSize 16}} children)))

(defn autocomplete-multi-value [props]
  (let [{:keys [removeProps children]} (js->clj props :keywordize-keys true)]
    (cmp/chip
      {:tabIndex   -1
       :onDelete   (:onClick removeProps)
