UNPKG

@ebay/ebayui-core

Version:

Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.

23 lines (22 loc) 515 B
export interface Input { data: { x: number; y: number; }[]; trend?: "positive" | "negative"; } declare class SparkLine extends Marko.Component<Input> { getSparkLinePath(): string; getMinMax(): { startX: number; endX: number; yMin: number; yMax: number; }; getNormalizationScaleRatios(minMax: ReturnType<typeof this.getMinMax>): { xScale: number; yScale: number; }; getViewBox(): string; } export default SparkLine;