Added onFocus prop (#9426)

This commit is contained in:
Dominik
2016-05-26 15:39:26 +02:00
committed by Masahiro Wakame
parent 512ffae8cc
commit 37fa4e22fd

View File

@@ -50,6 +50,10 @@ declare namespace reactInputCalendar {
*/
onBlur?: (event: __React.SyntheticEvent, computableDate: string) => void;
/**
* Set a function that will be triggered when the input field is focused.
*/
onFocus?: (event: __React.SyntheticEvent) => void;
/**
* Define state when date picker would close once the user has clicked on a date.
*/
closeOnSelect?: boolean;