UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

19 lines (18 loc) 723 B
/// <reference types="react" /> import { Selection } from 'd3-selection'; import { IData } from './DraggableLineChartD3'; export declare type IXAxisRenderProp = ({ x, y, ref }: { x: string; y: number; ref?: any; }) => JSX.Element; export declare type ISelection = Selection<SVGElement | any, {} | any, null, undefined>; declare const getGroup: (selection: ISelection, className: string) => ISelection; declare const lucidXAxis: (selection: ISelection, { xScale, tickSize, xAxisRenderProp, dataIsCentered, data, }: { xScale: any; tickSize: number; xAxisRenderProp?: IXAxisRenderProp | undefined; dataIsCentered?: boolean | undefined; data: IData; }) => void; export { lucidXAxis, getGroup };