@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
26 lines • 1.46 kB
JavaScript
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
'use client';
import React from 'react';
import useBaseComponent from '../internal/hooks/use-base-component';
import { applyDisplayName } from '../internal/utils/apply-display-name';
import InternalMixedLineBarChart from './internal';
function MixedLineBarChart({ series = [], height = 500, xScaleType = 'linear', yScaleType = 'linear', stackedBars = false, horizontalBars = false, statusType = 'finished', detailPopoverSize = 'medium', emphasizeBaselineAxis = true, ...props }) {
const baseComponentProps = useBaseComponent('MixedLineBarChart', {
props: {
detailPopoverSize,
emphasizeBaselineAxis,
fitHeight: props.fitHeight,
hideFilter: props.hideFilter,
hideLegend: props.hideLegend,
horizontalBars,
stackedBars,
xScaleType,
yScaleType,
},
});
return (React.createElement(InternalMixedLineBarChart, { series: series, height: height, xScaleType: xScaleType, yScaleType: yScaleType, stackedBars: stackedBars, horizontalBars: horizontalBars, statusType: statusType, detailPopoverSize: detailPopoverSize, emphasizeBaselineAxis: emphasizeBaselineAxis, ...props, ...baseComponentProps }));
}
applyDisplayName(MixedLineBarChart, 'MixedLineBarChart');
export default MixedLineBarChart;
//# sourceMappingURL=index.js.map