UNPKG

react-financial-charts

Version:
37 lines (36 loc) 1.05 kB
import React, { Component } from "react"; import { strokeDashTypes } from "../utils"; interface AreaSeriesProps { readonly baseAt?: number | ((yScale: any, d: [number, number], moreProps: any) => number); readonly canvasClip?: any; readonly canvasGradient?: any; readonly className?: string; readonly fill?: string; readonly interpolation?: any; readonly opacity?: number; /** * Stroke color */ readonly stroke?: string; readonly strokeDasharray?: strokeDashTypes; readonly strokeOpacity?: number; readonly strokeWidth?: number; readonly style?: React.CSSProperties; readonly yAccessor: (data: any) => number; } /** * `AreaSeries` component */ export declare class AreaSeries extends Component<AreaSeriesProps> { static defaultProps: { className: string; fill: string; opacity: number; stroke: string; strokeWidth: number; strokeOpacity: number; strokeDasharray: string; }; render(): JSX.Element; } export {};