The listing calendar component is currently found in two places - createListing.component.js and listingPage.component.js. The calendar uses an external dependency, but includes some additional styling/data injected on our end. We should create a reusable component for the calendar with the following options in addition to the parameters already present in the component:
Pages - this indicates how many months are visible in one screen
Title - header for the calendar
Task
Create calendar component and replace calendars on createListing and listingPage with reusable component
Add "today" button that displays the current day on the calendar
Background
The listing calendar component is currently found in two places -
createListing.component.js
andlistingPage.component.js
. The calendar uses an external dependency, but includes some additional styling/data injected on our end. We should create a reusable component for the calendar with the following options in addition to the parameters already present in the component:Task