{"_id":"@brank1994/react-recurrence-selector","_rev":"2-83ac2ca12e89b5270cbf3693eb4e3eac","name":"@brank1994/react-recurrence-selector","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@brank1994/react-recurrence-selector","version":"0.1.0","description":"A simple, customizable, and reusable component for providing the recurrence functionality.","author":{"name":"ziadadeela"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ziadadeela/react-recurrence.git"},"keywords":["react","recurrence","event","recurring","calendar","repeating event","reoccurrence","frequency"],"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.tsx","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build","storybook":"start-storybook -p 6006","build-storybook":"build-storybook"},"peerDependencies":{"react":"^16.0.0"},"devDependencies":{"@babel/core":"^7.12.9","@storybook/addon-actions":"^6.1.9","@storybook/addon-docs":"^6.2.9","@storybook/addon-essentials":"^6.1.9","@storybook/addon-links":"^6.1.9","@storybook/node-logger":"^6.1.9","@storybook/preset-create-react-app":"^3.1.5","@storybook/react":"^6.1.9","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.2","@testing-library/user-event":"^12.2.2","@types/classnames":"^2.2.11","@types/jest":"^26.0.15","@types/node":"^12.12.38","@types/react":"^16.9.27","@types/react-dom":"^16.9.7","@typescript-eslint/eslint-plugin":"^2.26.0","@typescript-eslint/parser":"^2.26.0","babel-eslint":"^10.0.3","babel-loader":"^8.1.0","cross-env":"^7.0.2","eslint":"^7.14.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^4.0.1","typescript":"^3.7.5","@date-io/date-fns":"^1.3.13","date-fns":"^2.16.1"},"dependencies":{"@material-ui/core":"^4.11.0","@material-ui/pickers":"latest","classnames":"^2.2.6"},"types":"./dist/index.d.ts","gitHead":"4f353fa6df5e4171abebeffbffa8fd77f05edd34","bugs":{"url":"https://github.com/ziadadeela/react-recurrence/issues"},"homepage":"https://github.com/ziadadeela/react-recurrence#readme","_id":"@brank1994/react-recurrence-selector@0.1.0","_nodeVersion":"12.22.1","_npmVersion":"7.22.0","dist":{"integrity":"sha512-+7+r/Vfo0fyVIUatB+anTvROJP2v8pVVMN03GCIaMoER6YWZWDQvu65Iw68B791e8dBaLQ6Ak/+lWWjbO+rX/w==","shasum":"f5ada4bd08527c7a47bc70cae039e814208b2093","tarball":"https://registry.npmjs.org/@brank1994/react-recurrence-selector/-/react-recurrence-selector-0.1.0.tgz","fileCount":44,"unpackedSize":186826,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICP6KBCyemuq3+dwubwMA4wrya99SU02XnU9W/5YmBwtAiEAw4hKhOkifEB/Qi+NWvaQcSiDMen6ehWhbSDIa5Mct20="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDmjwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmox8g/+Iyy6SHPzmI2pHR3fzJYEJ1ZaJeU4xQrn5C5gBKqU8aadYuxZ\r\nF1fqMadblay0lytKxfkgtfplgSRkrg9WXRdPG5klg9hrQumEcBP3mladx1lA\r\nHHFwUzZioaVOFeqBNPtvHUAB5YtUDUw/XeC2+W/ruAVf80PAgQv/g02/95HA\r\nU5ynqBEPvEC5nK1LJ//q0eLSIhTOyF7NRZx311nuNuFlLHjxlxK3PNN3wQjr\r\n5hgoNci+Am3xEZlvnHEBDZBkirD3ziJFl0VjhqMPP5akecyt6enH86zuAByn\r\nMEWn4I9M70tDvbgkvh/5C2KsA/0GJAxawYHfYTdjPig48yJd75dmH/ZZ5ESN\r\nZ2JvIRhUr37KyD7Ru04bcxSyuOARnRTs/1c4T9IFRrkqsoBwggPhwSFJOZ/2\r\nihdZ1A3C0MItesGmAusrcFR+j/gtn6TAeaqe27hO6ZRkMK9LMk64cz6lfTn5\r\nV2TS/MN8SFrHawnWoMAus+zqm8av1aLsnpFRBHrozGWV8TvmvYjZBz6272xY\r\nQDDSOE7HlqgUqD8hF7Knf9nEqCGvDCb3M94TyRvRJ+DSTEMJvqmBqzt0/Ktp\r\nThkiF/r4tN0hrcwINdNvrpvtXZkmWujQtQSC+Qj6gPidHD5f+RH2nwpUAZ8H\r\nV8MO2fCW68nUyr/wiwPfV0ZOLc6EJjXeViM=\r\n=6+ye\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brank1994","email":"rankrh@gmail.com"},"directories":{},"maintainers":[{"name":"brank1994","email":"rankrh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-recurrence-selector_0.1.0_1661888752608_0.7210424250001923"},"_hasShrinkwrap":false},"0.1.2":{"name":"@brank1994/react-recurrence-selector","version":"0.1.2","description":"A simple, customizable, and reusable component for providing the recurrence functionality.","author":{"name":"ziadadeela"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ziadadeela/react-recurrence.git"},"keywords":["react","recurrence","event","recurring","calendar","repeating event","reoccurrence","frequency"],"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.tsx","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build","storybook":"start-storybook -p 6006","build-storybook":"build-storybook"},"peerDependencies":{"react":"^17.0.0"},"devDependencies":{"@babel/core":"^7.12.9","@storybook/addon-actions":"^6.1.9","@storybook/addon-docs":"^6.2.9","@storybook/addon-essentials":"^6.1.9","@storybook/addon-links":"^6.1.9","@storybook/node-logger":"^6.1.9","@storybook/preset-create-react-app":"^3.1.5","@storybook/react":"^6.1.9","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.2","@testing-library/user-event":"^12.2.2","@types/classnames":"^2.2.11","@types/jest":"^26.0.15","@types/node":"^12.12.38","@types/react":"^16.9.27","@types/react-dom":"^16.9.7","@typescript-eslint/eslint-plugin":"^2.26.0","@typescript-eslint/parser":"^2.26.0","babel-eslint":"^10.0.3","babel-loader":"^8.1.0","cross-env":"^7.0.2","eslint":"^7.14.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^4.0.1","typescript":"^3.7.5","@date-io/date-fns":"^1.3.13","date-fns":"^2.16.1"},"dependencies":{"@material-ui/core":"^4.11.0","@material-ui/pickers":"latest","classnames":"^2.2.6"},"types":"./dist/index.d.ts","gitHead":"078ca4e43c54497ebdef544fcc1b44aeccac3725","bugs":{"url":"https://github.com/ziadadeela/react-recurrence/issues"},"homepage":"https://github.com/ziadadeela/react-recurrence#readme","_id":"@brank1994/react-recurrence-selector@0.1.2","_nodeVersion":"12.22.1","_npmVersion":"7.22.0","dist":{"integrity":"sha512-lHd0ZOF3xxyOUqEy2WtDM/Fvdm1eiV65AcEHXaG+TitWLA+phSHPYlt50rxVXLWgoR4wgv7BWlvrADLiKmvZeA==","shasum":"46c686b2c9cb2c82f9708f7473428e1485ac1188","tarball":"https://registry.npmjs.org/@brank1994/react-recurrence-selector/-/react-recurrence-selector-0.1.2.tgz","fileCount":44,"unpackedSize":186826,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8jYgkNO7yoy4MqY6QOwgPKDonuRu6ekLpEQTaYMtPrAiAYhGdEXVIQ2GD5mnzErIHlcACTaMmXb7itS1yl/2rOZw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGA7PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5Rg//XQCZzL83V4jeaFTC48dm0MwSvZy3b4ZQbTn/8CNtBC1XWwkR\r\naE+Zi9OHa3ZMod5Ruvhb4HKS34HPcCMPzoxrYLzYULbYH1ZvlIoynEmJXZfx\r\nirtSQeRvG19DrSOpsgr1v4vIMY8MtmhKUlp9/DcvmjhfGWympUG0zuuSAIHZ\r\nTmMFS2amMGdZ0gVOgtNaQHbVRawBbYmhQtaCwPPpZj9KGVn+oB7PAo1M34/c\r\nC3SW4/EvlJaqgKL/SrTtyjgK+lEoZKMLERkaKw8xUXo8pKGOPJknId5xfUwT\r\nhgffORgotG+7jFd5xI7h2gCGOon8/5bkM63izhZTawspLFq+TQ+9GMPNbvTF\r\nn1ApH+SXiaDlzToAZOhEpCyf7Zzp++aPyzx+TwrN0PgCNv/OqKolbFogs/0Y\r\nmIOfQYvn1ITzGb2OzWlbtssH/RAzMvOgD0TC22eRvlsiaRLAlN8VtYO4I9qG\r\n1NAp68RMrSNDok90Fd0FqPMcu758QgHmnatdvzqh4aUQl6hHPCK+TWE749vf\r\n8kPF4htwJd5JJWyX6FWeOATKCKp4LkmXBvzuBr1STEyi64NS4lDPHBUU4r0d\r\nkyORtgonhZD6PBmN6c6Hwea5kQLtVA2gllqOLEoEV6k7tdD26doQeb5ug6H1\r\nC1yv80WDYt0kypZo/JghbFRbEO3wSB+249Q=\r\n=xobE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brank1994","email":"rankrh@gmail.com"},"directories":{},"maintainers":[{"name":"brank1994","email":"rankrh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-recurrence-selector_0.1.2_1662521039055_0.973806448196527"},"_hasShrinkwrap":false},"0.3.0":{"name":"@brank1994/react-recurrence-selector","version":"0.3.0","description":"A simple, customizable, and reusable component for providing the recurrence functionality.","author":{"name":"ziadadeela"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ziadadeela/react-recurrence.git"},"keywords":["react","recurrence","event","recurring","calendar","repeating event","reoccurrence","frequency"],"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.tsx","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress --format modern,cjs","start":"microbundle-crl watch --no-compress --format modern,cjs","prepare":"run-s build","test":"run-s test:unit test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build","storybook":"start-storybook -p 6006","build-storybook":"build-storybook"},"peerDependencies":{"react":"^17.0.0"},"devDependencies":{"@babel/core":"^7.12.9","@storybook/addon-actions":"^6.1.9","@storybook/addon-docs":"^6.2.9","@storybook/addon-essentials":"^6.1.9","@storybook/addon-links":"^6.1.9","@storybook/node-logger":"^6.1.9","@storybook/preset-create-react-app":"^3.1.5","@storybook/react":"^6.1.9","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.2","@testing-library/user-event":"^12.2.2","@types/classnames":"^2.2.11","@types/jest":"^26.0.15","@types/node":"^12.12.38","@types/react":"^16.9.27","@types/react-dom":"^16.9.7","@typescript-eslint/eslint-plugin":"^2.26.0","@typescript-eslint/parser":"^2.26.0","babel-eslint":"^10.0.3","babel-loader":"^8.1.0","cross-env":"^7.0.2","eslint":"^7.14.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^2.2.0","microbundle-crl":"^0.13.10","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.13.1","react-dom":"^16.13.1","react-scripts":"^4.0.1","typescript":"^3.7.5","@date-io/date-fns":"^1.3.13","date-fns":"^2.16.1"},"dependencies":{"@material-ui/core":"^4.11.0","@material-ui/pickers":"latest","classnames":"^2.2.6"},"types":"./dist/index.d.ts","gitHead":"9c670220892a43a3b87a200e5000f377e7e3531b","bugs":{"url":"https://github.com/ziadadeela/react-recurrence/issues"},"homepage":"https://github.com/ziadadeela/react-recurrence#readme","_id":"@brank1994/react-recurrence-selector@0.3.0","_nodeVersion":"12.22.1","_npmVersion":"7.22.0","dist":{"integrity":"sha512-SupDk9xQJx1A0mVfTfQ8NFsjhSb2KeIEEPam68d1TXCOyRcDWAFaWCLBIqhdu8cxxHRkbq8gpCLnasiGua95+A==","shasum":"23c49a028b495dc129554a3eb2c3061f8e955730","tarball":"https://registry.npmjs.org/@brank1994/react-recurrence-selector/-/react-recurrence-selector-0.3.0.tgz","fileCount":44,"unpackedSize":186772,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfAbx1Q4Ki/kIUDmwW4iY5F2QzLdwd108MdaaXIEKCqQIgewp32lyG4pNSX8afy1H7fWlPxTO/q2JqLdw2DY6ZWE8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGnNlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotQg//ergUon+l/nN18uMFunIRJmbiL97ipVZ9puWmGmrS1sJwq/XX\r\nfcG1kaHeI0t0AtPg0Ju4+UA/JX/rIApcCM6g1KyIVi2mlw32X4wPFB8PJO7U\r\n7/ikgeWz7nJ3kQoTt/w7uUBTtSg4FKj35y4Xqmffo9xDCIokB6U/x7W8vPuc\r\n2P7+zO0mF4CvL03LGt1nHqaInCrB0W0YXHxMnnBhLJy6/mCj9skF3HX6vOp1\r\nHzcolwIOglH4EHw1eGoqeTLoHFQzzlFk39h8XdZMHvVKEyWIREX9/S/y6Trm\r\n7ZsSJJ8/rRI5YywNS3gJivjL3vLfg03GwXwyrp0I892X87OGrDZM//VzEqUp\r\n+f40jOLjAIvvjJIvK18y4Qis7Mz0ozlpKafwf/b4YcHlAidxqT0q2lj8uRv2\r\nuGzfu14vjaQa77t0L6iCT3618CSfy9c/mA86ZudrGkNscoOMDgowTemIsaU0\r\nlbC9dlFjLYC+SUJiDi/rm1Hc3ggOsf3c6aPAGtYwkRyIM7dejCp/G1/BZlu3\r\nIgGrnWbP6bTkeLy+Iewtho3ZINcpz8scVP8t3zCTC+/tZMyi+X/pLfzqwRKj\r\nym38pb8dn2Ogs5w1Q4JmBUbB5bru4+hBlLUNRM6/dyn0pjkxn4NnIQfqdz1u\r\nkYSK/fFrOlEWd1LqYuKFTPUyfOU2vJIUrec=\r\n=4zgR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brank1994","email":"rankrh@gmail.com"},"directories":{},"maintainers":[{"name":"brank1994","email":"rankrh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-recurrence-selector_0.3.0_1662677861188_0.7591463394445166"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-30T19:45:52.546Z","0.1.0":"2022-08-30T19:45:52.835Z","modified":"2022-09-08T22:57:41.437Z","0.1.2":"2022-09-07T03:23:59.276Z","0.3.0":"2022-09-08T22:57:41.357Z"},"maintainers":[{"name":"brank1994","email":"rankrh@gmail.com"}],"description":"A simple, customizable, and reusable component for providing the recurrence functionality.","homepage":"https://github.com/ziadadeela/react-recurrence#readme","keywords":["react","recurrence","event","recurring","calendar","repeating event","reoccurrence","frequency"],"repository":{"type":"git","url":"git+https://github.com/ziadadeela/react-recurrence.git"},"author":{"name":"ziadadeela"},"bugs":{"url":"https://github.com/ziadadeela/react-recurrence/issues"},"license":"MIT","readme":"# ![Alt logo](./src/assets/logo.png?raw=true ) React Recurrence\n\n[![NPM](https://img.shields.io/npm/v/react-recurrence.svg)](https://www.npmjs.com/package/react-recurrence) ![npm](https://img.shields.io/npm/dt/react-recurrence) ![NPM](https://img.shields.io/npm/l/react-recurrence) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nA simple, customizable, and reusable component for providing the recurrence functionality.\n\n## Installation\nThe package can be installed via NPM:\n\n```bash\nnpm install --save react-recurrence\n```\n\n## Demo\nA live demo for the component can be found [here](https://ziadadeela.github.io/react-recurrence/).\n\n\n## Usage\nBelow is a simple example on how to use the component. When any internal field is changed, **an updated recurrence object is emitted**.\n\nPlease note that **MuiPickersUtilsProvider** must be added at the root of your application with the appropriate date util.\n\n```tsx\nimport {\n  Recurrence,\n  RecurrenceType,\n  FrequencyType,\n  EndingConditionType\n} from 'react-recurrence'\n\n\nconst App = () => {\n\n    const today = new Date()\n    const defaultRecurrence = {\n      startDate: today,\n      endDate: today,\n      frequency: FrequencyType.Weekly,\n      numberOfRepetitions: 1,\n      weekDaysRepetition: [],\n      endingCondition: EndingConditionType.None,\n      endingOccurrencesNumber: 0,\n      isAllDay: false,\n      startTime: today,\n      endTime: today\n      }\n\n    const [recurrence, setRecurrence] = useState<RecurrenceType>(defaultRecurrence)\n\n    const handleRecurrenceChange = (updatedRecurrence: RecurrenceType) => {\n      setRecurrence(updatedRecurrence)\n    }\n\n    return (\n      <MuiPickersUtilsProvider utils={DateFnsUtils}>\n        <Recurrence\n          recurrence={recurrence}\n          onChange={handleRecurrenceChange}\n        />\n      </MuiPickersUtilsProvider>\n    )\n}\n```\n## Configuration\nThe component has a default structuring for the internal components. You can use it without passing the internal components as children as following:\n```tsx\n<Recurrence\n  recurrence={recurrence}\n  onChange={handleRecurrenceChange}\n/>\n```\nOr you can structure and customise the internal components according to your needs as following:\n```tsx\n<Recurrence\n  recurrence={recurrence}\n  onChange={handleRecurrenceChange}\n>\n    <Grid\n      container\n      direction='column'\n      justify='center'\n      alignItems='center'\n      spacing={3}\n    >\n      <Grid item xs={12}>\n        <Recurrence.StartDateSelector/>\n      </Grid>\n      <Recurrence.FrequencySelector/>\n      <Grid item sm={12}>\n        <Recurrence.EndingConditionSelector/>\n      </Grid>\n      <Grid item sm={12}>\n        <Recurrence.TimeSelector/>\n      </Grid>\n    </Grid>\n</Recurrence>\n```\n\n## Props\n\n### `recurrence (RecurrenceType)`\n\n  ```\n    startDate: Date\n    frequency: FrequencyType\n    numberOfRepetitions?: number\n    weekDaysRepetition: Array<number>\n    endingCondition: EndingConditionType\n    endingOccurrencesNumber?: number\n    endDate?: Date\n    isAllDay: boolean\n    startTime?: Date\n    endTime?: Date\n  ```\n\n### `onChange (recurrence: RecurrenceType) ⇒ void`\n\n  Any field changes within the component, will emit a recurrence object with the new change.\n\n\n## Internal Components\nyou can find here the internal components that are used to structure the main recurrence component.\n\n![ Alt text](./src/assets/internal-components.gif)\n\n\n## RecurrenceType fields\n\n### `startDate`\n\n`Date`\n\nRepresents the start date of the recurrence.\n\n### `frequency`\n\n`[Enum] FrequencyType`\n\nRepresents how frequent the recurrence will be.\n\nEnum values: `None`, `Hourly`, `Daily`, `Weekly`, `Monthly`, `Yearly`\n\n### `numberOfRepetitions`\n\n`number<Nullable>`\n\nRepresents how many times the recurrence will be repeated according to the chosen frequency.\n\n\n### `weekDaysRepetition`\n\n`Array<number>`\n\nUsed when **weekly** repetition is chosen. Represents on which days the recurrence will happen in a week.\n\n### `endingCondition`\n\n`[Enum] EndingConditionType`\n\nRepresents what's the condition of ending a recurrence.\n\nEnum values: `None`, `EndDate`, `OccurrencesNumber`\n\n\n### `endingOccurrencesNumber`\n\n`number<Nullable>`\n\nUsed when **OccurrencesNumber** ending condition is chosen. Represents how many times the recurrence will happen.\n\n\n### `endDate`\n\n`Date<Nullable>`\n\nUsed when **EndDate** ending condition is chosen. Represents the end date of the recurrence.\n\n\n### `isAllDay`\n\n`boolean`\n\nRepresents if a recurrence will be all day or if it has a start and end time\n\n\n### `startTime`\n\n`Date<Nullable>`\n\nUsed when **isAllDay** boolean is **false**. Represents the start time of the recurrence.\n\n\n### `endTime`\n\n`Date<Nullable>`\n\nUsed when **isAllDay** boolean is **false**. Represents the end time of the recurrence.\n\n\n## To run Locally\n- npm run start\n- cd example -> npm run start\n\n## To run tests\n- npm run test\n\n## Storybook\n- npm run storybook\n\n\n## License\n\nMIT © [ziadadeela](https://github.com/ziadadeela)\n","readmeFilename":"README.md"}