Silence console error
parent
cf30c773ea
commit
c32c0eb24a
|
@ -88,33 +88,9 @@ DashVisualization.propTypes = {
|
|||
}),
|
||||
tableOptions: shape({}),
|
||||
resizerTopHeight: number,
|
||||
thresholdsListColors: arrayOf(
|
||||
shape({
|
||||
type: string.isRequired,
|
||||
hex: string.isRequired,
|
||||
id: string.isRequired,
|
||||
name: string.isRequired,
|
||||
value: number.isRequired,
|
||||
}).isRequired
|
||||
),
|
||||
gaugeColors: arrayOf(
|
||||
shape({
|
||||
type: string.isRequired,
|
||||
hex: string.isRequired,
|
||||
id: string.isRequired,
|
||||
name: string.isRequired,
|
||||
value: number.isRequired,
|
||||
}).isRequired
|
||||
),
|
||||
lineColors: arrayOf(
|
||||
shape({
|
||||
type: string.isRequired,
|
||||
hex: string.isRequired,
|
||||
id: string.isRequired,
|
||||
name: string.isRequired,
|
||||
value: number.isRequired,
|
||||
}).isRequired
|
||||
),
|
||||
thresholdsListColors: arrayOf(shape({}).isRequired),
|
||||
gaugeColors: arrayOf(shape({}).isRequired),
|
||||
lineColors: arrayOf(shape({}).isRequired),
|
||||
staticLegend: bool,
|
||||
setDataLabels: func,
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ class ColorScaleDropdown extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
const {arrayOf, bool, func, shape, string, number} = PropTypes
|
||||
const {arrayOf, bool, func, shape, string} = PropTypes
|
||||
|
||||
ColorScaleDropdown.propTypes = {
|
||||
selected: arrayOf(
|
||||
|
@ -107,7 +107,6 @@ ColorScaleDropdown.propTypes = {
|
|||
hex: string.isRequired,
|
||||
id: string.isRequired,
|
||||
name: string.isRequired,
|
||||
value: number.isRequired,
|
||||
}).isRequired
|
||||
).isRequired,
|
||||
onChoose: func.isRequired,
|
||||
|
|
|
@ -31,7 +31,7 @@ class LineGraphColorSelector extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
const {arrayOf, func, shape, string, number} = PropTypes
|
||||
const {arrayOf, func, shape, string} = PropTypes
|
||||
|
||||
LineGraphColorSelector.propTypes = {
|
||||
lineColors: arrayOf(
|
||||
|
@ -40,7 +40,6 @@ LineGraphColorSelector.propTypes = {
|
|||
hex: string.isRequired,
|
||||
id: string.isRequired,
|
||||
name: string.isRequired,
|
||||
value: number.isRequired,
|
||||
}).isRequired
|
||||
).isRequired,
|
||||
handleUpdateLineColors: func.isRequired,
|
||||
|
|
Loading…
Reference in New Issue