UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

43 lines (42 loc) 948 B
import React from "react"; import { InputFieldProps } from "./InputField"; import { Currency } from "@etsoo/appscript"; /** * Number input field properties */ export type NumberInputFieldProps = Omit<InputFieldProps, "type" | "inputProps"> & { /** * Currency */ currency?: string | Currency; /** * End symbol */ endSymbol?: string; /** * Start (Currency) symbol */ symbol?: string; /** * Input field style */ inputStyle?: React.CSSProperties; /** * Minimum value */ min?: number; /** * Maximum value */ max?: number; /** * Step value */ step?: number; }; /** * Number input field, for controlled only components, please see IntInputField and MoneyInputField * @param props Props * @returns Component */ export declare function NumberInputField(props: NumberInputFieldProps): import("react/jsx-runtime").JSX.Element;