@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
18 lines • 566 B
TypeScript
import { ChartDataTypes } from '../../../mixed-line-bar-chart/interfaces';
import { ChartScale, NumericChartScale } from './scales';
interface LabelsMeasureProps {
scale: ChartScale | NumericChartScale;
ticks: readonly ChartDataTypes[];
tickFormatter?: (value: ChartDataTypes) => string;
autoWidth: (value: number) => void;
maxLabelsWidth?: number;
}
declare const _default: typeof LabelsMeasure;
export default _default;
declare function LabelsMeasure({
scale,
ticks,
tickFormatter,
autoWidth,
maxLabelsWidth
}: LabelsMeasureProps): JSX.Element;