@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
12 lines (11 loc) • 508 B
TypeScript
import * as React from 'react';
import { HTMLProps } from 'react';
import { BoxProps } from 'rebass';
import { AdaptableApi } from '../../Api/AdaptableApi';
export type ColorPickerProps = Omit<HTMLProps<HTMLInputElement>, 'onChange'> & {
api: AdaptableApi;
onChange: (color: string) => void;
value: string;
includeAlpha?: boolean;
} & Omit<BoxProps, 'onChange'>;
export declare const ColorPicker: React.ForwardRefExoticComponent<Omit<ColorPickerProps, "ref"> & React.RefAttributes<unknown>>;