improved typesafety

This commit is contained in:
Daniel
2023-05-27 19:59:39 +03:30
parent a0a7ccc952
commit 36778810c5
11 changed files with 87 additions and 89 deletions
@@ -14,8 +14,8 @@ type Props = {
onChange: any;
defaultValue:
| {
value: number;
label: string;
value?: number;
}
| undefined;
};