export default function homePropsProvider(props) {
  const {
    userInfo,
    birthdayOfUser,
    openView,
    bdUserCurrentMonth,
    modalVisible,
    wishList,
    openProfileComponent,
    openCheckIn,
    chooseSetting,
    chooseSettingView,
    openSettingView,
    openModalHappyBirthday,
    closeModalHappyBirthday,
    openModalWishBirthday,
    closeModalWishBirthday,
    handleOpenDesBirthday,
    handleCloseDesBirthday,
    addMoreImgFromGallery,
    onCalendarChangeMonth,
    randomQuotation,
    showModalInstall,
    setShowModalInstall,
    toggleImCheckInModal,
    downloadComponent,
    navigateToChatAssistant,
  } = props;
  return {
    userInfo,
    openView,
    openModalHappyBirthday,
    closeModalHappyBirthday,
    wishList,
    openProfileComponent,
    openCheckIn,
    chooseSetting,
    chooseSettingView,
    openSettingView,
    toggleImCheckInModal,
    navigateToChatAssistant,
    calendarBirthdayProps: {
      birthdayOfUser,
      bdUserCurrentMonth,
      handleOpenDesBirthday,
      onCalendarChangeMonth,
    },
    birthdayModalProps: {
      modalVisible,
      handleCloseDesBirthday,
      openModalWishBirthday,
      addMoreImgFromGallery,
      closeModalWishBirthday,
      closeModalHappyBirthday,
    },
    randomQuotation,
    imCheckInInstall: {
      showModalInstall,
      setShowModalInstall,
      toggleImCheckInModal,
      downloadComponent,
    },
  };
}
