Skip to content

Commit 1755a9d

Browse files
committed
Rename usePlotBandLine to usePlotBandLineLifecycle
1 parent da0b514 commit 1755a9d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/react-jsx-highcharts/src/components/PlotBandLine/PlotBand.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import React, { memo } from 'react';
22
import PropTypes from 'prop-types';
33
import PlotBandLineContext from './PlotBandLineContext';
4-
import usePlotBandLine from './usePlotBandLine';
4+
import usePlotBandLineLifecycle from './usePlotBandLineLifecycle';
55

66

77
const PlotBand = memo(props => {
8-
const plotband = usePlotBandLine(props, 'plotBands');
8+
const plotband = usePlotBandLineLifecycle(props, 'plotBands');
99

1010
const { children } = props;
1111

packages/react-jsx-highcharts/src/components/PlotBandLine/PlotLine.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React, { memo } from 'react';
22
import PropTypes from 'prop-types';
33
import PlotBandLineContext from './PlotBandLineContext';
4-
import usePlotBandLine from './usePlotBandLine';
4+
import usePlotBandLineLifecycle from './usePlotBandLineLifecycle';
55

66
const PlotLine = memo(props => {
7-
const plotline = usePlotBandLine(props, 'plotLines');
7+
const plotline = usePlotBandLineLifecycle(props, 'plotLines');
88

99
const { children } = props;
1010

0 commit comments

Comments
 (0)