@momo-kits/date-picker 0.0.44-beta.3 → 0.0.44-beta.4

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.
@@ -573,7 +573,6 @@ class DatePicker extends Component {
573
573
  headerStyle,
574
574
  iconClosePosition = 'right',
575
575
  iconType,
576
- headerButtonStyle,
577
576
  } = this.props;
578
577
  return (
579
578
  <BottomPopupHeader
@@ -585,9 +584,28 @@ class DatePicker extends Component {
585
584
  buttonTitle={buttonTitle}
586
585
  onButtonPress={onButtonPress}
587
586
  style={[styles.header, headerStyle]}
588
- headerButtonStyle={headerButtonStyle}
589
587
  />
590
588
  );
589
+ // return (
590
+ // <View style={styles.header}>
591
+ // <TouchableOpacity
592
+ // onPress={this.hide}
593
+ // >
594
+ // <Text style={styles.titleCancel}>
595
+ // {titleCancel}
596
+ // </Text>
597
+ // </TouchableOpacity>
598
+ // <Text style={styles.title}>
599
+ // {title || placeholder}
600
+ // </Text>
601
+ // <TouchableOpacity onPress={this.finish}>
602
+ // <Text style={styles.titleConfirm}>
603
+ // {titleConfirm}
604
+
605
+ // </Text>
606
+ // </TouchableOpacity>
607
+ // </View>
608
+ // );
591
609
  }
592
610
 
593
611
  renderDescription = () => {
@@ -722,7 +740,7 @@ class DatePicker extends Component {
722
740
  }
723
741
 
724
742
  renderFooter() {
725
- const { titleFooter, renderFooter, footerButtonStyle } = this.props;
743
+ const { titleFooter, renderFooter } = this.props;
726
744
  return renderFooter ? (
727
745
  renderFooter()
728
746
  ) : (
@@ -734,7 +752,6 @@ class DatePicker extends Component {
734
752
  }}>
735
753
  <Button
736
754
  onPress={this.finish}
737
- buttonStyle={[footerButtonStyle]}
738
755
  title={titleFooter || SwitchLanguage.confirm}
739
756
  type="primary"
740
757
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/date-picker",
3
- "version": "0.0.44-beta.3",
3
+ "version": "0.0.44-beta.4",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {},