reaviz
Version:
Data Visualization using React
31 lines (29 loc) • 649 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.
*/
orientation?: 'horizontal' | 'vertical';
/**
* Data to use to render the scale.
*/
data: ChartDataShape[];
/**
* Color scheme for the scale.
*/
colorScheme?: string[];
}
export declare const SequentialLegend: FC<SequentialLegendProps>;