@navinc/base-react-components
Version:
Nav's Pattern Library
13 lines (12 loc) • 542 B
TypeScript
import { FocusEventHandler, ChangeEventHandler } from 'react';
import { Input } from '../input.js';
import { InferComponentProps } from '../types.js';
type UsdInputProps = InferComponentProps<typeof Input> & {
name: string;
onBlur?: FocusEventHandler<HTMLInputElement>;
onChange?: ChangeEventHandler<HTMLInputElement>;
invalidOnTouched?: boolean;
allowNegatives?: boolean;
};
export declare const UsdInput: ({ name, onBlur, onChange, invalidOnTouched, allowNegatives, ...props }: UsdInputProps) => JSX.Element;
export {};