{"size": 1043, "ext": "js", "max_stars_repo_path": "node_modules/grommet/es6/components/TextArea/doc.js", "max_stars_repo_name": "manifoldco/definitely-not-a-todo-list", "max_stars_repo_stars_event_min_datetime": "2019-03-07T00:40:51.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-25T19:29:35.000Z", "max_issues_repo_path": "node_modules/grommet/es6/components/TextArea/doc.js", "max_issues_repo_name": "manifoldco/definitely-not-a-todo-list", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/grommet/es6/components/TextArea/doc.js", "max_forks_repo_name": "manifoldco/definitely-not-a-todo-list", "max_forks_repo_forks_event_min_datetime": "2019-08-14T00:15:13.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-16T19:31:34.000Z"}
{"max_stars_count": 12, "max_issues_count": null, "max_forks_count": 7, "avg_line_length": 57.9444444444, "max_line_length": 205, "alphanum_fraction": 0.744966443}
import { describe, PropTypes } from 'react-desc';

import { getAvailableAtBadge } from '../../utils';

export var doc = function doc(TextArea) {
  var DocumentedTextArea = describe(TextArea).availableAt(getAvailableAtBadge('TextArea')).description('A textarea.').usage('import { TextArea } from \'grommet\';\n<TextArea id=\'item\' name=\'item\' />');

  DocumentedTextArea.propTypes = {
    id: PropTypes.string.description('The id attribute of the textarea.'),
    focusIndicator: PropTypes.bool.description('Whether the plain textarea should receive a focus outline.'),
    name: PropTypes.string.description('The name attribute of the textarea.'),
    placeholder: PropTypes.string.description('Placeholder text to use when no value is provided.'),
    plain: PropTypes.bool.description('Whether this is a plain textarea with no border or padding.\nOnly use this when the containing context provides sufficient affordance.'),
    value: PropTypes.string.description('What text to put in the textarea.')
  };

  return DocumentedTextArea;
};