@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) • 463 B
TypeScript
import * as React from 'react';
import { InputProps } from './index';
export type NumberInputProps = {
onChange: (value: number) => void;
noArrows?: boolean;
} & Omit<InputProps, 'onChange'>;
/**
* This component allows - and empty values as intermediery values
* it calls change only with valid numeric values
*/
export declare const NumberInput: React.ForwardRefExoticComponent<Omit<NumberInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;