UNPKG

@navinc/base-react-components

Version:
13 lines (12 loc) 542 B
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 {};