code: function handleEvent(handler, day, modifiers) {
    if (!handler) {
      return undefined;
    }
    return function (e) {
      e.persist();
      handler(day, modifiers, e);
    };
  }
docs: /* eslint-disable jsx-a11y/no-static-element-interactions, react/forbid-prop-types