@gpa-gemstone/react-graph
Version:
Interactive UI Components for GPA products
15 lines (14 loc) • 429 B
TypeScript
import * as React from 'react';
export interface ILegendContext {
SmWidth: number;
LgWidth: number;
SmHeight: number;
LgHeight: number;
RequestLegendWidth: (width: number, requesterID: string) => void;
RequestLegendHeight: (height: number) => void;
}
export interface ILegendRequiredProps {
size: 'lg' | 'sm';
enabled: boolean;
}
export declare const LegendContext: React.Context<ILegendContext>;