import React from 'react'; import { Component } from 'intergalactic/core'; import { BoxProps } from 'intergalactic/flex-box'; export type CommonTrendProps = BoxProps & { /** * Flag to enable animate of charts * @default true */ animate?: boolean; /** * Flag to enable skeleton * @default false */ loading?: boolean; /** * Data for chart */ data: any[]; }; export declare abstract class Trend
any)[]> extends Component
{
state: {
width: number;
height: number;
};
containerRef: React.RefObject