@hailer-oy/birds-eye
Version:
This component library directory contains all the react components for Hailer Bird's Eye! Developing these componets happens [here](https://github.com/KvanttoriOy/birds-eye/tree/master/birds-eye-components), only copy your changes in lib from there to src
10 lines (9 loc) • 427 B
TypeScript
import { DependencyList } from 'react';
/**
* This hook renders D3.js charts into react with
* the provided function. Returns a ref which must be put
* into the svg we want to render our chart in.
*
* @author Juhana Kuparinen <juhana.kuparinen@kvanttori.fi>
*/
export declare const useD3: (renderChartFn: (svg: any) => void, dependencies: DependencyList | undefined) => import("react").RefObject<SVGSVGElement>;