UNPKG

dsssp

Version:

React Library for Audio Processing and Visualization

22 lines 779 B
import { default as React } from 'react'; import { GraphScale, GraphTheme, LogScaleFunction } from '../../types'; type GraphContextProps = { width: number; height: number; theme: GraphTheme; scale: GraphScale; logScale: LogScaleFunction; svgRef: React.RefObject<SVGSVGElement>; }; export declare const GraphContext: React.Context<GraphContextProps | undefined>; export declare const GraphProvider: ({ children, svgRef, scale, logScale, height, width, theme }: { children: React.ReactNode; svgRef: React.RefObject<SVGSVGElement>; theme: GraphTheme; scale: GraphScale; height: number; width: number; logScale: LogScaleFunction; }) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=GraphProvider.d.ts.map