mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
fix optional inputs
This commit is contained in:
+1
-2
@@ -19,7 +19,6 @@ export interface PropTypes {
|
||||
type?: string;
|
||||
name?: string;
|
||||
placeholder?: string;
|
||||
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
||||
disabled?: boolean;
|
||||
};
|
||||
onError?: (status: string, clearSuggestion: () => void) => void;
|
||||
@@ -47,7 +46,7 @@ export interface PropTypes {
|
||||
radius?: number | string;
|
||||
types?: string[];
|
||||
};
|
||||
value: string;
|
||||
value?: string;
|
||||
onChange?: (value: string) => void;
|
||||
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user