UNPKG

reaviz

Version:

Data Visualization using React

49 lines (48 loc) 912 B
import { FC } from 'react'; export interface MeterColumnProps { /** * The value of the meter. */ value: number; /** * The height of the column. * * @default 32 */ height?: number; /** * The index of the column. */ index: number; /** * The scale to use. */ scale: any; /** * The active fill color. * * @default schemes.cybertron[0] */ activeFill: string; /** * The inactive fill color. * * @default '#414242' */ inActiveFill: string; /** * Additional class names to apply. */ className?: string; /** * The total number of columns. Set internally. */ count?: number; /** * Whether to animate the column. * * @default true */ animated?: boolean; } export declare const MeterColumn: FC<Partial<MeterColumnProps>>;