@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
19 lines (18 loc) • 541 B
TypeScript
import { ChartScale } from './scales';
import { ScaleType } from './interfaces.js';
export interface SeriesInfo {
label: string;
color: string;
markerType: 'line' | 'rectangle';
}
export interface ChartGridProps {
xTitle?: string;
yTitle?: string;
xScale: ChartScale;
yScale: ChartScale;
xScaleType: ScaleType;
yScaleType: ScaleType;
innerWidth: number;
innerHeight: number;
}
export default function Grid({ xScale, yScale, xTitle, yTitle, innerWidth, innerHeight }: ChartGridProps): JSX.Element;