@alicloud/cloud-charts
Version:

28 lines (27 loc) • 744 B
TypeScript
import * as React from 'react';
import { ChartData } from '../common/types';
import { getPositionFun } from './shoot';
import './index.scss';
export interface ShootProps {
className?: string;
style?: React.CSSProperties;
width: number;
height: number;
config: {};
data: ChartData;
getPosition?: getPositionFun;
}
export default class Wshoot extends React.Component<ShootProps> {
static defaultProps: {
width: number;
height: number;
config: {};
};
constructor(props: ShootProps);
canvas: HTMLCanvasElement;
shoot: any;
componentDidMount(): void;
componentDidUpdate(prevProps: ShootProps): void;
componentWillUnmount(): void;
render(): React.JSX.Element;
}