fix optional inputs

This commit is contained in:
Nokky Goren
2018-11-27 16:53:21 +02:00
committed by GitHub
parent 7e23c69081
commit f5e979aa4e
+1 -2
View File
@@ -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;