Like this: <DayPicker ... selectedDays={dateItems.map(date => new Date(date))} />. Thanks to react-day-picker's author for this.
確定! 回上一頁