Adds missing argument in onChange event (#12243)

This commit is contained in:
Jaroslav Bereza 2018-09-14 11:13:48 +02:00 committed by zombieJ
parent bc3322daf6
commit 2d415d0be2

View File

@ -35,7 +35,7 @@ export interface TreeSelectProps extends AbstractSelectProps {
multiple?: boolean; multiple?: boolean;
maxTagCount?: number; maxTagCount?: number;
onSelect?: (value: any) => void; onSelect?: (value: any) => void;
onChange?: (value: any, label: any) => void; onChange?: (value: any, label: any, extra:any) => void;
onSearch?: (value: any) => void; onSearch?: (value: any) => void;
searchPlaceholder?: string; searchPlaceholder?: string;
dropdownStyle?: React.CSSProperties; dropdownStyle?: React.CSSProperties;