@onesy/ui-react
Version:
UI for React
25 lines (24 loc) • 647 B
TypeScript
import React from 'react';
import { TMethod } from '@onesy/models';
import { IChart, IChartValueValues } from '../Chart/Chart';
export declare type IAreaChartItem = IChart & {
name?: string;
refs?: {
wrapper?: HTMLElement;
defs?: HTMLElement;
};
rects?: {
wrapper?: DOMRect;
svg?: DOMRect;
};
values?: IChartValueValues;
updateDefs?: TMethod;
updateLegend?: TMethod;
smooth?: boolean;
smoothRatio?: number;
linearGradient?: boolean;
BackgroundProps?: any;
BorderProps?: any;
};
declare const AreaChartItem: React.FC<IAreaChartItem>;
export default AreaChartItem;