make label optional on Autocomplete component since its already used without label

This commit is contained in:
Eduard Heimbuch
2019-12-05 10:29:39 +01:00
parent 5718262687
commit ff3a71f9d3

View File

@@ -8,7 +8,7 @@ import { ActionMeta, ValueType } from "react-select/lib/types";
type Props = {
loadSuggestions: (p: string) => Promise<SelectValue[]>;
valueSelected: (p: SelectValue) => void;
label: string;
label?: string;
helpText?: string;
value?: SelectValue;
placeholder: string;