UNPKG

design-system-simplefi

Version:

Design System for SimpleFi Applications

19 lines (18 loc) 574 B
import React from 'react'; import { OptionsType } from './Charts.types'; export interface LegendProps { hoverData?: any; currency?: string; options: OptionsType[]; enterAction?: (any: any) => void; exitAction?: () => void; closeAction?: () => void; legendVisible?: boolean; setLegendVisbility?: (boolean: any) => void; legendType?: 'pieChart' | 'list' | 'double' | 'barChart'; source?: string; isBarChart?: boolean; legendLabel?: string; } declare const Legend: React.FC<LegendProps>; export default Legend;