dtable-ui-component 0.3.13-alpha1 → 0.3.14
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.
|
@@ -48,7 +48,7 @@ var NotificationPopover = /*#__PURE__*/function (_React$Component) {
|
|
|
48
48
|
|
|
49
49
|
_this.onHandleScroll = function () {
|
|
50
50
|
if (_this.notificationListRef.offsetHeight + _this.notificationListRef.scrollTop + 1 >= _this.notificationsWrapperRef.offsetHeight) {
|
|
51
|
-
_this.props.listNotifications();
|
|
51
|
+
_this.props.listNotifications && _this.props.listNotifications();
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
|
|
@@ -123,4 +123,9 @@ var NotificationPopover = /*#__PURE__*/function (_React$Component) {
|
|
|
123
123
|
return NotificationPopover;
|
|
124
124
|
}(React.Component);
|
|
125
125
|
|
|
126
|
+
NotificationPopover.defaultProps = {
|
|
127
|
+
headerText: '',
|
|
128
|
+
bodyText: '',
|
|
129
|
+
footerText: ''
|
|
130
|
+
};
|
|
126
131
|
export { NotificationPopover as default };
|