diff --git a/src/index.tsx b/src/index.tsx index 1cd9df6..149bda8 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -128,6 +128,9 @@ class CurrencyInput extends React.Component): CurrencyInputState { const { onChangeEvent, + onBlur, + onClick, + onFocus, value: propValue, decimalSeparator, thousandSeparator, @@ -140,6 +143,10 @@ class CurrencyInput extends React.Component, unknown> = { + onBlur, onClick, onFocus, onChangeEvent, + allowEmpty, allowNegative, autoFocus, + disableSelectionHandling: propDisableSelectionHandling, selectAllOnFocus, + decimalSeparator, inputType, precision, prefix, style, suffix, thousandSeparator, + id, tabIndex, value: propValue, + logValues, + }; + void _; + const disableSelectionHandling = propDisableSelectionHandling || inputType === 'number'; return { maskedValue, value, customProps, disableSelectionHandling, previousProps: props }; }