Google Analytics-like datepicker with React.js