import { describe, PropTypes } from 'react-desc';
export var doc = function doc(Input) {
  var DocumentedInput = describe(Input).description('An input component for use with react-hook-forms. REQUIRED: react-hook-forms').usage("import { Input } from '@dragonchain-dev/dragon-kit'\n      \n<Input required type=\"email\" name=\"email\" placeholder=\"Email...\" />");
  DocumentedInput.propTypes = {
    name: PropTypes.string.description('Name of the input').isRequired,
    placeholder: PropTypes.string.description('Placeholder before value is entered').isRequired,
    required: PropTypes.bool.description('Is the input required for the form to submit').defaultValue(false),
    type: PropTypes.oneOf(['text', 'email']).description('Type of data to be entered').defaultValue('text')
  };
  return DocumentedInput;
};