UNPKG

@kensoni/react-input-number

Version:

Handle input number with React. Support Material UI (MUI)

7 lines (6 loc) 430 B
import { KeyboardEvent } from "react"; import BigNumber from "@kensoni/big-number"; export declare function isWhiteKeys(key: string, value: BigNumber, comma?: boolean, disableNegative?: boolean, integer?: boolean): boolean; export declare function existSep(value: BigNumber): boolean; export declare function revertByChange(value: string, comma?: boolean): string; export declare function isCommandKey(e: KeyboardEvent): boolean;