UNPKG

@eristack/form-ui

Version:

Native React form controls wired to @eristack money, percent, and timestamp

10 lines • 499 B
import type { InputHTMLAttributes } from "react"; export type MoneyInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> & { amount: string; currency: string; onAmountChange?: (amount: string) => void; onParsed?: (amount: string) => void; round?: boolean; }; export declare function MoneyInput({ amount, currency, onAmountChange, onParsed, round, onBlur, ...rest }: MoneyInputProps): import("react").JSX.Element; //# sourceMappingURL=money-input.d.ts.map