mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-15 01:38:12 -05:00
19 lines
488 B
TypeScript
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;
|
|
};
|
|
}
|
|
}
|