UNPKG

@visx/shape

Version:
12 lines 797 B
import type { ReactNode } from 'react'; import type { RadialLine } from '@visx/vendor/d3-shape'; import type { LinePathProps } from './LinePath'; import type { AddSVGProps, RadialLinePathConfig } from '../types'; export type LineRadialProps<Datum> = Pick<LinePathProps<Datum>, 'className' | 'data' | 'fill' | 'innerRef'> & { /** Override render function which is passed the configured path generator as input. */ children?: (args: { path: RadialLine<Datum>; }) => ReactNode; } & RadialLinePathConfig<Datum>; export default function LineRadial<Datum>({ className, angle, radius, defined, curve, data, innerRef, children, fill, ...restProps }: AddSVGProps<LineRadialProps<Datum>, SVGPathElement>): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=LineRadial.d.ts.map