react-hichestan-numberinput
Version:
A serie of react components to numbers in input specially persian numbers.
16 lines (12 loc) • 361 B
TypeScript
import * as React from "react";
import { NumberFormat } from "./util";
export type NumberInputProps = {
numberFormat?: NumberFormat;
inputRef?: any;
getInputRef?: any;
disabled?: boolean;
readOnly?: boolean;
maxLength?: number;
} & React.ComponentProps<"input">;
declare const NumberInput: React.FC<NumberInputProps>;
export default NumberInput;