{"id":21657097,"url":"https://github.com/omarefg/react-date-events","last_synced_at":"2026-04-12T20:44:04.001Z","repository":{"id":36048756,"uuid":"220704863","full_name":"omarefg/react-date-events","owner":"omarefg","description":"React component to create a calendar and add dates.","archived":false,"fork":false,"pushed_at":"2022-12-11T12:42:28.000Z","size":4781,"stargazers_count":1,"open_issues_count":25,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T06:42:34.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omarefg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-09T21:17:03.000Z","updated_at":"2023-03-07T14:46:34.000Z","dependencies_parsed_at":"2022-09-20T01:00:23.247Z","dependency_job_id":null,"html_url":"https://github.com/omarefg/react-date-events","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarefg%2Freact-date-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarefg%2Freact-date-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarefg%2Freact-date-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omarefg%2Freact-date-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omarefg","download_url":"https://codeload.github.com/omarefg/react-date-events/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554120,"owners_count":20471173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T09:19:29.826Z","updated_at":"2026-04-12T20:43:58.973Z","avatar_url":"https://github.com/omarefg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-date-events\nReact component to create a calendar and add reminders to it.\n\n# Example project\n\nFirst you'll need to download the project.\n\n``git clone git@github.com:omarefg/react-date-events.git``\n\nInstallation:\n\n``yarn install``\n\nor\n\n``npm install``\n\n## Run the project\n\n``yarn start``\n\nor\n\n``npm start``\n\nThe local server will open on http://localhost:3021\n\n# Install the package\n\n## Installation\n\n``npm install -S @omarefg/react-date-events``\n\nor\n\n``yarn install -S @omarefg/react-date-events``\n\n## Usage\n\n```jsx\n    import React from 'react'\n    import Calendar from '@omarefg/react-date-events'\n    import '@omarefg/react-date-events/lib/main.css'\n\n    const Foo = () =\u003e {\n        return (\n            \u003cCalendar/\u003e\n        )\n    }\n```\n\n# Props API\n\n\u003ctable\u003e\n\u003cthead\u003e\n    \u003ctr\u003e\n        \u003cth\u003eProp\u003c/th\u003e\n        \u003cth\u003eDescription\u003c/th\u003e\n        \u003cth\u003eType\u003c/th\u003e\n        \u003cth\u003eRequired\u003c/th\u003e\n        \u003cth\u003eDefault value\u003c/th\u003e\n    \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eactualMonth\u003c/td\u003e\n        \u003ctd\u003eActual month in the calendar\u003c/td\u003e\n        \u003ctd\u003eint (0 - 11)\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003eActual month\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eactualYear\u003c/td\u003e\n        \u003ctd\u003eActual year in the calendar\u003c/td\u003e\n        \u003ctd\u003eint\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003eActual year\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eweekDays\u003c/td\u003e\n        \u003ctd\u003eArray of strings or objects of the week days\u003c/td\u003e\n        \u003ctd\u003e[string] || [object]\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003ehourSelectValues\u003c/td\u003e\n        \u003ctd\u003eArray of objects to fill the reminder hours select\u003c/td\u003e\n        \u003ctd\u003e[object]\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e[{hour: 0, minutes: 0, seconds: 0, id: 0 }] (From 0 to 23:30)\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eselectedDay\u003c/td\u003e\n        \u003ctd\u003eThe selected day in the calendar to show in reminders area\u003c/td\u003e\n        \u003ctd\u003eobject\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e{weekDay: '', month: '', day: '', year: '', date: '', id: '', reminders: []}\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003ereminderAreaIsOpen\u003c/td\u003e\n        \u003ctd\u003eBoolean to tell if the reminders area is open\u003c/td\u003e\n        \u003ctd\u003eboolean\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003eFalse\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonDayClick\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user click on a calendar day\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e({weekDay, month, day, year, date, id}) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003emonths\u003c/td\u003e\n        \u003ctd\u003eArray of strings or objects of the months\u003c/td\u003e\n        \u003ctd\u003e[string] || [object]\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003ereminders\u003c/td\u003e\n        \u003ctd\u003eArray of objects to fill the reminders, the reminders object must have the following fields: id, description, hour, date, weather\u003c/td\u003e\n        \u003ctd\u003e[object]\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e[]\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonAddReminder\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user click on the add a reminder button\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e(date) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonReminderTitleChange\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user change the reminder title\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e(event, id, field) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonReminderHourChange\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user change the reminder hour\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e(event, id, field) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonReminderDelete\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user delete the reminder\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e(id) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eincludeCity\u003c/td\u003e\n        \u003ctd\u003eBoolean to include or not the city field in the reminder\u003c/td\u003e\n        \u003ctd\u003eboolean\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003eFalse\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eincludeWeather\u003c/td\u003e\n        \u003ctd\u003eBoolean to include or not the weather field in the reminder\u003c/td\u003e\n        \u003ctd\u003eboolean\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003eFalse\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonReminderCityChange\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user change the reminder city\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e(event, id, field) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonReminderColorChange\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user change the reminder city\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e({event: {target: value}}, id, field) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonReminderAreaClose\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user change the reminder city\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e(event) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003eonReminderDateChange\u003c/td\u003e\n        \u003ctd\u003eCallback to be called when the user change the reminder date\u003c/td\u003e\n        \u003ctd\u003efunction\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e({event: {target: value}}, id, field) =\u003e null\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003ecities\u003c/td\u003e\n        \u003ctd\u003eArray of cities to fill the reminder cities select\u003c/td\u003e\n        \u003ctd\u003e[object]\u003c/td\u003e\n        \u003ctd\u003e❌\u003c/td\u003e\n        \u003ctd\u003e[]\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomarefg%2Freact-date-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomarefg%2Freact-date-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomarefg%2Freact-date-events/lists"}