reaviz
Version:
Data Visualization using React
34 lines (33 loc) • 743 B
TypeScript
import { FC } from 'react';
import { ChartDataShape } from '../../data';
export interface SequentialLegendProps {
/**
* CSS Class name.
*/
className?: any;
/**
* CSS Class name for the gradient element.
*/
gradientClassName?: string;
/**
* CSS Styles.
*/
style?: any;
/**
* Orientation of the legend.
*
* @default 'vertical'
*/
orientation?: 'horizontal' | 'vertical';
/**
* Data to use to render the scale.
*/
data: ChartDataShape[];
/**
* Color scheme for the scale.
*
* @default ['rgba(28, 107, 86, 0.5)', '#2da283']
*/
colorScheme?: string[];
}
export declare const SequentialLegend: FC<SequentialLegendProps>;