@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
40 lines • 1.28 kB
TypeScript
import { AreaChartProps } from './interfaces';
import { ChartModel } from './model';
interface ChartContainerProps<T extends AreaChartProps.DataTypes> extends Pick<AreaChartProps<T>, 'xTitle' | 'yTitle' | 'xTickFormatter' | 'yTickFormatter' | 'detailTotalFormatter' | 'detailPopoverSize' | 'detailPopoverFooter' | 'ariaLabel' | 'ariaLabelledby' | 'ariaDescription' | 'i18nStrings'> {
model: ChartModel<T>;
autoWidth: (value: number) => void;
fitHeight?: boolean;
hasFilters: boolean;
minHeight: number;
isRTL?: boolean;
}
declare const _default: typeof ChartContainer;
export default _default;
declare function ChartContainer<T extends AreaChartProps.DataTypes>({
model,
autoWidth,
xTitle,
yTitle,
detailPopoverSize,
detailPopoverFooter,
ariaLabel,
ariaLabelledby,
ariaDescription,
i18nStrings: {
xTickFormatter: deprecatedXTickFormatter,
yTickFormatter: deprecatedYTickFormatter,
detailTotalFormatter: deprecatedDetailTotalFormatter,
detailTotalLabel,
chartAriaRoleDescription,
xAxisAriaRoleDescription,
yAxisAriaRoleDescription,
detailPopoverDismissAriaLabel
},
fitHeight,
hasFilters,
minHeight,
xTickFormatter,
yTickFormatter,
detailTotalFormatter,
isRTL
}: ChartContainerProps<T>): JSX.Element;