<commit_before>import PropTypes from 'prop-types';
import React from 'react';
import classnames from 'classnames';

const propTypes = {
  children: PropTypes.node,
  legendText: PropTypes.string,
  className: PropTypes.string,
  invalid: PropTypes.bool,
  message: PropTypes.bool,
  messageText: PropTypes.string,
};
const defaultProps = {
  invalid: false,
  message: false,
  messageText: undefined,
};

const FormGroup = ({
  legendText,
  invalid,
  children,
  className,
  message,<commit_msg>fix(FormGroup): text strings as defaultProps (il8n) (#124)<commit_after>import PropTypes from 'prop-types';
import React from 'react';
import classnames from 'classnames';

const propTypes = {
  children: PropTypes.node,
  legendText: PropTypes.string,
  className: PropTypes.string,
  invalid: PropTypes.bool,
  message: PropTypes.bool,
  messageText: PropTypes.string
};
const defaultProps = {
  invalid: false,
  message: false,
  messageText: 'Provide message text',
  legendText: 'Provide legend text'
};

const FormGroup = ({
  legendText,
  invalid,
  children,
  className,
  message,
{'fraction_non_alphanumeric': 0.10815765352887259, 'fraction_numerical': 0.0036663611365719525, 'mean_word_length': 4.902702702702703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7184820', 'n_tokens_mistral': 327, 'n_tokens_neox': 336, 'n_words': 93}