fybdp-d3-kg
Version:
Knowledge Graph using React and D3.js
19 lines (18 loc) • 573 B
TypeScript
import { Component } from 'react';
import { Node } from '../utils';
export declare type Location = 'inside' | 'outside';
export interface SankeyLabelProps {
active: boolean;
chartWidth?: number;
className?: string;
fill: string;
location: Location;
node?: Node;
opacity: (active: boolean) => number;
padding?: string | number;
visible: boolean;
}
export declare class SankeyLabel extends Component<SankeyLabelProps> {
static defaultProps: Partial<SankeyLabelProps>;
render(): false | JSX.Element | undefined;
}