UNPKG

@helpscout/stats

Version:

Easy performance monitoring for JavaScript / React

13 lines (12 loc) 408 B
export interface Panel { dom: HTMLCanvasElement; update: (min: number, max: number) => void; } /** * Generates the UI (Canvas) that renders the Stat graph * @param name {string} The name of the Panel. * @param fg {string} The foreground colour (hex). * @param bg {string} The background colour (hex). */ declare function Panel(name: string, fg: string, bg: string): Panel; export default Panel;