Node v16 or higher
yarn install
yarn start
- moment
The project has App and Calendar component. We should pass some params from App to Calendar.
Name | Type | Default | Description |
---|---|---|---|
dateObject | moment object | moment() | record calendar status |
todayObject | moment object | moment() | record today |
handleRangeChange | function(addType, preDateObject, action) | () => {} | change dateObject depend on cliked calendar type |
handleDateObjectChange | function(moment object) | () => {} | change dateObject dependd on cliked date |
- Record user last select date
- Test basic month days