All files / src/Input index.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16          1x         1x          
import { formikField, reduxFormField } from '../utils';
import * as styles from './styles';
import { Input as _Input, InputIcon, InputField as _InputField } from './Input';
 
export * from './Input';
export const Input = Object.assign(_Input, {
  Icon: InputIcon,
  Formik: formikField(_Input),
  ReduxForm: reduxFormField(_Input)
});
export const InputField = Object.assign(_InputField, {
  Formik: formikField(_InputField, { hasFieldWrapper: true }),
  ReduxForm: reduxFormField(_InputField, { hasFieldWrapper: true })
});
export { styles as inputStyles };