Upgrade ReactSelect to latest version (#5277)

* - maintenance: upgrade react-select to latest version (5+)
- fix: props.styles was ignored and didn't passed to original react-select component from abstraction wrapper
This commit is contained in:
Roman authored and GitHub committed 2022-04-27 12:31:07 +03:00
1 parent e4b1fa2f40
commit 22d2133ac8
14 files changed
+1959 -1447

No files matched your search

@@ -7,8 +7,7 @@ import "./namespace-select-filter.scss";
import React from "react";
import { observer } from "mobx-react";
import type { OptionTypeBase, PlaceholderProps } from "react-select";
import { components } from "react-select";
import { components, type PlaceholderProps } from "react-select";
import { Icon } from "../icon";
import { NamespaceSelect } from "./namespace-select";
@@ -78,7 +77,7 @@ export const NamespaceSelectFilter = withInjectables<Dependencies, SelectProps>(
}),
});
export interface CustomPlaceholderProps extends PlaceholderProps<OptionTypeBase, boolean> {}
export interface CustomPlaceholderProps extends PlaceholderProps {}
interface PlaceholderDependencies {
namespaceStore: NamespaceStore;