Files
OpenHands/openhands-ui/components/select/react-select.d.ts
2025-07-16 17:28:01 +00:00

19 lines
488 B
TypeScript

import type {} from "react-select/base";
// This import is necessary for module augmentation.
// It allows us to extend the 'Props' interface in the 'react-select/base' module
// and add our custom property 'myCustomProp' to it.
declare module "react-select/base" {
export interface Props<
Option,
IsMulti extends boolean,
Group extends GroupBase<Option>
> {
customProps: {
error?: string;
hint?: string;
readOnly: boolean | undefined;
};
}
}