🏷️(react) move SelectProps to index.tsx

It makes more sense for this type to be next to the Select component.
This commit is contained in:
Nathan Vasse
2023-10-04 15:48:22 +02:00
committed by NathanVss
parent 1c7a114b6e
commit b5c91d429d
7 changed files with 33 additions and 37 deletions

View File

@@ -3,8 +3,8 @@ import { optionToValue } from ":/components/Forms/Select/mono-common";
import { SelectMultiSearchable } from ":/components/Forms/Select/multi-searchable";
import { SelectMultiSimple } from ":/components/Forms/Select/multi-simple";
import { SubProps } from ":/components/Forms/Select/multi-common";
import { Option, SelectProps } from ":/components/Forms/Select/mono";
import { SelectHandle } from ":/components/Forms/Select/index";
import { Option } from ":/components/Forms/Select/mono";
import { SelectHandle, SelectProps } from ":/components/Forms/Select/index";
export type SelectMultiProps = Omit<SelectProps, "onChange"> & {
onChange?: (event: { target: { value: string[] } }) => void;