@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
17 lines (16 loc) • 769 B
TypeScript
import * as React from 'react';
import type { StyledColumn } from '../../../types';
export declare const getStyledColumnSparklineStyleViewValues: (data: StyledColumn) => string[];
/**
* Wizard-step summary for the Sparkline Settings step.
*/
export declare const renderSparklineSummary: (data: StyledColumn) => React.ReactNode;
/**
* Validation for the Sparkline Settings wizard step.
* - Sparkline type must be set (defaulted to `line` so this is mostly a safety net).
* - When Min and Max overrides are both provided, Min must be strictly less than Max.
*/
export declare const isValidSparklineSettings: (data: StyledColumn) => true | string;
export declare const StyledColumnSparklineSettingsSection: React.FC<{
onChange: (data: StyledColumn) => void;
}>;