UNPKG

reaviz

Version:

Data Visualization using React

31 lines (30 loc) 804 B
import { FC, ReactElement } from 'react'; import { GradientProps, Gradient } from '../../Gradient'; export interface LinearAxisLineProps { height: number; width: number; /** * Stroke color of the axis line. * * @default '#8F979F' */ strokeColor?: string; /** * Stroke width of the axis line. * * @default 1 */ strokeWidth: number; /** * Optional gradient to apply to the axis line stroke. */ strokeGradient: ReactElement<GradientProps, typeof Gradient> | null; scale: any; orientation: 'horizontal' | 'vertical'; className?: string; } export declare const LinearAxisLine: FC<Partial<LinearAxisLineProps>>; export declare const linearAxisLineDefaultProps: { strokeColor: string; strokeWidth: number; };