pcm-shared-components 2.0.85 → 2.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,7 @@ export const PricingCalendar = props => {
21
21
  priceObject,
22
22
  RenderDay
23
23
  } = props;
24
+ console.log('debug props', props);
24
25
  const DefaultRenderDayComponent = ({
25
26
  date,
26
27
  foundPrice
@@ -77,10 +78,11 @@ export const PricingCalendar = props => {
77
78
  components: {
78
79
  Day: handleDayRender
79
80
  },
80
- defaultMonth: moment(startDate).toDate(),
81
- month: moment(startDate).toDate(),
82
- fromDate: moment(startDate).toDate(),
83
- toDate: moment(endDate).toDate()
81
+ defaultMonth: moment(startDate).toDate()
82
+ // month={startDate}
83
+ ,
84
+ fromDate: startDate,
85
+ toDate: endDate
84
86
 
85
87
  // captionLayout="dropdown-buttons" fromYear={moment().add(-5,'years').year()} toYear={moment().add(5, 'years').year()}
86
88
  // selectedDays={[moment(startDate), { from: moment(startDate).toDate(), to: new moment(endDate).toDate() }]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "2.0.85",
3
+ "version": "2.0.86",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {