import { HTMLInputTypeAttribute } from 'react';

import { IField, IFieldProps } from './field';

export interface IMakeInput extends IField {
  elementType: 'input';
  placeholder?: string;
  min?: string;
  max?: string;
  type?: HTMLInputTypeAttribute;
}

export interface IMakeInputProps extends IFieldProps {
  element: Omit<IMakeInput, 'elementType'>;
}
