UNPKG

@blockscout/ui-toolkit

Version:

A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects

18 lines (17 loc) 743 B
import { default as React } from 'react'; import { AxesConfigFn, Resolution, TimeChartData } from './types'; export interface ChartWidgetContentProps { charts: TimeChartData; isLoading?: boolean; isError?: boolean; empty?: boolean; emptyText?: string; zoomRange?: [Date, Date]; handleZoom: (range: [Date, Date]) => void; isEnlarged?: boolean; noAnimation?: boolean; resolution?: Resolution; axesConfig?: AxesConfigFn; noWatermark?: boolean; } export declare const ChartWidgetContent: React.MemoExoticComponent<({ charts, isLoading, isError, empty, emptyText, zoomRange, handleZoom, isEnlarged, noAnimation, resolution, axesConfig, noWatermark, }: ChartWidgetContentProps) => React.JSX.Element>;