mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 23:25:26 +00:00
Improve FilterableSelect to support optional grouping by option field
This commit is contained in:
@@ -2,6 +2,7 @@ import {
|
||||
ClearIndicatorProps,
|
||||
components,
|
||||
DropdownIndicatorProps,
|
||||
GroupProps,
|
||||
MultiValueRemoveProps,
|
||||
OptionProps
|
||||
} from "react-select";
|
||||
@@ -45,3 +46,7 @@ export const Option = <T,>({ isSelected, children, ...props }: OptionProps<T>) =
|
||||
</components.Option>
|
||||
);
|
||||
};
|
||||
|
||||
export const Group = <T,>(props: GroupProps<T>) => {
|
||||
return <components.Group {...props} />;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user