dlt-for-react 2.1.9 → 2.1.10
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/README.md +1 -0
- package/lib/components/KyECharts/index.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ var KyECharts = function KyECharts(_ref) {
|
|
|
110
110
|
props = (0, _objectWithoutProperties3.default)(_ref, ['style', 'className', 'notMerge', 'lazyUpdate']);
|
|
111
111
|
|
|
112
112
|
return _react2.default.createElement(_core2.default, (0, _extends3.default)({
|
|
113
|
-
style:
|
|
113
|
+
style: style,
|
|
114
114
|
className: (0, _classnames2.default)('ky-echarts', className),
|
|
115
115
|
echarts: echarts,
|
|
116
116
|
notMerge: notMerge,
|
|
@@ -126,6 +126,7 @@ var KyECharts = function KyECharts(_ref) {
|
|
|
126
126
|
|
|
127
127
|
KyECharts.defaultProps = {
|
|
128
128
|
notMerge: true,
|
|
129
|
-
lazyUpdate: true
|
|
129
|
+
lazyUpdate: true,
|
|
130
|
+
style: { width: '100%', height: '100%' }
|
|
130
131
|
};
|
|
131
132
|
exports.default = KyECharts;
|