fenextjs-component
Version:
11 lines (10 loc) • 500 B
TypeScript
import React from "react";
import { InputSelectProps } from "../Select";
export interface InputSelectNumberProps extends Omit<InputSelectProps, "options" | "onChange" | "defaultValue" | "parseText"> {
onChange?: (n?: number) => void;
defaultValue?: number;
min?: number;
max?: number;
parseText?: (e: number) => string;
}
export declare const InputSelectNumber: ({ onChange, defaultValue, min, max, parseText, useTOption, ...props }: InputSelectNumberProps) => React.JSX.Element;