ordering-ui-react-native 0.23.41 → 0.23.42
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.
package/package.json
CHANGED
|
@@ -451,6 +451,12 @@ const BusinessPreorderUI = (props: BusinessPreorderParams) => {
|
|
|
451
451
|
{selectDate && datesWhitelist[0]?.start !== null && (
|
|
452
452
|
<CalendarStrip
|
|
453
453
|
scrollable
|
|
454
|
+
style={styles.calendar}
|
|
455
|
+
calendarHeaderContainerStyle={styles.calendarHeaderContainer}
|
|
456
|
+
calendarHeaderStyle={styles.calendarHeader}
|
|
457
|
+
iconContainer={{ flex: 0.1 }}
|
|
458
|
+
dayContainerStyle={{ height: '100%' }}
|
|
459
|
+
highlightDateContainerStyle={{ height: '100%' }}
|
|
454
460
|
calendarHeaderFormat='MMMM, YYYY'
|
|
455
461
|
iconStyle={{ borderWidth: 1 }}
|
|
456
462
|
selectedDate={selectDate}
|
|
@@ -464,7 +470,7 @@ const BusinessPreorderUI = (props: BusinessPreorderParams) => {
|
|
|
464
470
|
dateNumberStyle={styles.dateNumber}
|
|
465
471
|
dateNameStyle={styles.dateName}
|
|
466
472
|
disabledDateOpacity={0.6}
|
|
467
|
-
onDateSelected={(date) => onSelectDate(date)}
|
|
473
|
+
onDateSelected={(date: any) => onSelectDate(date)}
|
|
468
474
|
leftSelector={<LeftSelector />}
|
|
469
475
|
rightSelector={<RightSelector />}
|
|
470
476
|
/>
|
|
@@ -593,4 +599,4 @@ export const BusinessPreorder = (props: any) => {
|
|
|
593
599
|
cateringPreorder: !!cateringTypeString
|
|
594
600
|
}
|
|
595
601
|
return <MomentOption {...businessPreorderProps} />
|
|
596
|
-
}
|
|
602
|
+
}
|
|
@@ -427,6 +427,12 @@ const MomentOptionUI = (props: MomentOptionParams) => {
|
|
|
427
427
|
{selectDate && datesWhitelist[0]?.start !== null && (
|
|
428
428
|
<CalendarStrip
|
|
429
429
|
scrollable
|
|
430
|
+
style={styles.calendar}
|
|
431
|
+
calendarHeaderContainerStyle={styles.calendarHeaderContainer}
|
|
432
|
+
calendarHeaderStyle={styles.calendarHeader}
|
|
433
|
+
iconContainer={{ flex: 0.1 }}
|
|
434
|
+
dayContainerStyle={{ height: '100%' }}
|
|
435
|
+
highlightDateContainerStyle={{ height: '100%' }}
|
|
430
436
|
calendarHeaderFormat='MMMM, YYYY'
|
|
431
437
|
iconStyle={{ borderWidth: 1 }}
|
|
432
438
|
selectedDate={dateSelected}
|
|
@@ -504,4 +510,4 @@ export const MomentOption = (props: any) => {
|
|
|
504
510
|
UIComponent: MomentOptionUI,
|
|
505
511
|
};
|
|
506
512
|
return <MomentOptionController {...momentOptionProps} />;
|
|
507
|
-
};
|
|
513
|
+
};
|