1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

Convert Filter components to TypeScript

This commit is contained in:
Mark McDowall
2024-12-21 16:28:05 -08:00
parent a1d4bb5399
commit 9a7ddd751e
55 changed files with 1644 additions and 1840 deletions
+2 -1
View File
@@ -25,11 +25,12 @@ function parseValue(
}
interface NumberInputProps
extends Omit<TextInputProps<number | null>, 'value'> {
extends Omit<TextInputProps<number | null>, 'value' | 'onChange'> {
value?: number | null;
min?: number;
max?: number;
isFloat?: boolean;
onChange: (input: InputChanged<number | null>) => void;
}
function NumberInput({