UNPKG

reaviz

Version:

Data Visualization using React

61 lines (60 loc) 1.13 kB
import { FC } from 'react'; export interface VennLabelProps { /** * Whether the shape is active or not. */ active?: boolean | null; /** * Set by the parent element. */ id?: string; /** * Show all labels or just the large ones. * * @default false */ showAll?: boolean; /** * The label type to show. * * @default 'key' */ labelType: 'key' | 'value'; /** * Should wrap text or not. * * @default true */ wrap?: boolean; /** * The internal data object built by venn.js */ data: any; /** * Font size of the text. * * @default 11 */ fontSize?: number; /** * Font family of the text. * * @default 'sans-serif' */ fontFamily?: string; /** * Fill of the text. */ fill?: string; /** * Whether the chart is animated or not. * * @default true */ animated?: boolean; /** * Format label. */ format?: (data: any) => any; } export declare const VennLabel: FC<Partial<VennLabelProps>>;