import _extends from "@babel/runtime/helpers/esm/extends";
import omit from '../_util/omit';
import { eventType, stringType } from '../_util/type';
import { inputProps as vcInputProps } from '../vc-input/inputProps';
import '../config-provider/context';
export const inputDefaultValue = Symbol();
const inputProps = () => {
  return _extends(_extends({}, omit(vcInputProps(), ['wrapperClassName', 'groupClassName', 'inputClassName', 'affixWrapperClassName', 'variantClassName'])), {
    /**
     * @since 1.2.6
     * @default "outlined"
     */
    variant: stringType()
  });
};
export default inputProps;
const textAreaProps = () => _extends(_extends({}, omit(inputProps(), ['prefix', 'addonBefore', 'addonAfter', 'suffix'])), {
  rows: Number,
  autosize: {
    type: [Boolean, Object],
    default: undefined
  },
  autoSize: {
    type: [Boolean, Object],
    default: undefined
  },
  onResize: {
    type: Function
  },
  onCompositionstart: eventType(),
  onCompositionend: eventType(),
  valueModifiers: Object
});
export { textAreaProps };