fybdp-d3-kg
Version:
Knowledge Graph using React and D3.js
28 lines (27 loc) • 737 B
TypeScript
import { PureComponent } from 'react';
import { ChartShallowDataShape } from '../../common/data';
export interface RadialGaugeLabelProps {
/**
* Data set by the `RadialGaugeSeries` component.
*/
data: ChartShallowDataShape;
/**
* Offset set by the `RadialGaugeSeries` component.
*/
offset: number;
/**
* Classname to apply to the label.
*/
className?: any;
/**
* Label click event.
*/
onClick: (event: {
data: any;
nativeEvent: any;
}) => void;
}
export declare class RadialGaugeLabel extends PureComponent<RadialGaugeLabelProps> {
static defaultProps: Partial<RadialGaugeLabelProps>;
render(): JSX.Element;
}