@nivo/arcs
Version:
13 lines • 560 B
TypeScript
import { PropertyAccessor } from '@nivo/core';
import { InheritedColorConfig } from '@nivo/colors';
import { ArcLabelComponent } from './ArcLabelsLayer';
import { DatumWithArcAndColor } from '../types';
export interface ArcLabelsProps<Datum extends DatumWithArcAndColor> {
arcLabel: PropertyAccessor<Datum, string>;
arcLabelsRadiusOffset: number;
arcLabelsSkipAngle: number;
arcLabelsSkipRadius: number;
arcLabelsTextColor: InheritedColorConfig<Datum>;
arcLabelsComponent: ArcLabelComponent<Datum>;
}
//# sourceMappingURL=props.d.ts.map