fix(LineChart): remove unused fillWidth prop
This commit is contained in:
@@ -20,7 +20,6 @@ export type LineChartProps = {
|
|||||||
|
|
||||||
export function LineChart({
|
export function LineChart({
|
||||||
data,
|
data,
|
||||||
fullWidth = false,
|
|
||||||
title = '',
|
title = '',
|
||||||
xAxis,
|
xAxis,
|
||||||
xAxisType = 'temporal',
|
xAxisType = 'temporal',
|
||||||
@@ -89,6 +88,6 @@ export function LineChart({
|
|||||||
<LoadingSpinner />
|
<LoadingSpinner />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<VegaLite fullWidth={fullWidth} data={vegaData} spec={spec} />
|
<VegaLite data={vegaData} spec={spec} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,10 +35,6 @@ Must be an object with one of the following properties: `url` or `values` \n\n \
|
|||||||
yAxisType: {
|
yAxisType: {
|
||||||
description: 'Type of the Y-axis',
|
description: 'Type of the Y-axis',
|
||||||
},
|
},
|
||||||
fullWidth: {
|
|
||||||
description:
|
|
||||||
'Whether the component should be rendered as full bleed or not',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user