UNPKG

envoc-form

Version:

Envoc form components

10 lines (9 loc) 490 B
import React from 'react'; import { InputGroupProps } from './InputGroup'; export interface MoneyInputGroupProps extends Omit<InputGroupProps<number | undefined | null>, 'onChange' | 'type' | 'value'> { /** Custom parsing function when the value changes. */ parseFunc?: typeof parseInt | typeof parseFloat; } /** Input group for inputting money. */ declare const MoneyInputGroupWithRef: React.FunctionComponent<MoneyInputGroupProps>; export default MoneyInputGroupWithRef;