How to use the react-day-picker.DateUtils.isSameDay function in react-day-picker

To help you get started, we’ve selected a few react-day-picker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Madek / madek-webapp / app / assets / javascripts / react / ui-components / DatePicker.js View on Github external
disabledDays={day => {
                if (!laterThan) return
                const beforeDate = lazyDate(laterThan)
                return day < beforeDate || DateUtils.isSameDay(day, beforeDate)
              }}
              ref={el => {
github OpusCapita / react-grid / src / datagrid / date-picker / date-picker.component.jsx View on Github external
              selectedDays={day => DateUtils.isSameDay(this.state.selectedDay, day)}
              localeUtils={this.localeUtils}
github gcanti / simple-date-picker / src / templates / bootstrap.js View on Github external
      modifiers: { selected: date => DateUtils.isSameDay(value, date) },
      onDayClick: locals.onSelect,
github Madek / madek-webapp / app / assets / javascripts / react / ui-components / DatePicker.js View on Github external
              selectedDays={day => DateUtils.isSameDay(state.day, day)}
              disabledDays={day => {
github catamphetamine / webapp / frontend / code / components / date picker.js View on Github external
                selectedDays={ day => DateUtils.isSameDay(value, day) }/>
github fedspendingtransparency / data-act-broker-web-app / src / js / components / generateFiles / components / DatePicker.jsx View on Github external
                        selectedDays={(day) => DateUtils.isSameDay(pickedDay, day)}
                        onDayClick={this.handleDatePick.bind(this)}
github gpbl / react-day-picker / docs / src / code-samples / examples / selected-multiple.js View on Github external
const selectedIndex = selectedDays.findIndex(selectedDay =>
        DateUtils.isSameDay(selectedDay, day)
      );