mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
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;
|
||||
|
||||
Reference in new issue
Block a user