<commit_before>import React from 'react'
import PropTypes from 'prop-types'
import { Color } from 'constants/css'
import { css } from 'emotion'
import TextareaAutosize from 'react-textarea-autosize'

Textarea.propTypes = {
  className: PropTypes.string,
  innerRef: PropTypes.func
}
export default function Textarea({ className, innerRef, ...props }) {
  return (
    <TextareaAutosize
      {...props}
      inputRef={innerRef}
      className={`${className} ${css`
        width: 100%;
        line-height: 1.5;
        position: relative;
        font-size: 1.6rem;
        padding: 1rem;
        border: 1px solid ${Color.inputBorderGray()};
        &:focus {
          outline: none;
          border: 1px solid ${Color.logoBlue()};
          box-shadow: 0px 0px 3px ${Color.logoBlue(0.8)};
          ::placeholder {
            color: ${Color.lightGray()};
          }
        }
        ::placeholder {
          color: ${Color.gray()};
        }
      `}`}
    />
  )<commit_msg>minor change<commit_after>import React from 'react'
import PropTypes from 'prop-types'
import { Color } from 'constants/css'
import { css } from 'emotion'
import TextareaAutosize from 'react-textarea-autosize'

Textarea.propTypes = {
  className: PropTypes.string,
  innerRef: PropTypes.func
}
export default function Textarea({ className, innerRef, ...props }) {
  return (
    <TextareaAutosize
      {...props}
      innerRef={innerRef}
      inputRef={innerRef}
      className={`${className} ${css`
        width: 100%;
        line-height: 1.5;
        position: relative;
        font-size: 1.6rem;
        padding: 1rem;
        border: 1px solid ${Color.inputBorderGray()};
        &:focus {
          outline: none;
          border: 1px solid ${Color.logoBlue()};
          box-shadow: 0px 0px 3px ${Color.logoBlue(0.8)};
          ::placeholder {
            color: ${Color.lightGray()};
          }
        }
        ::placeholder {
          color: ${Color.gray()};
        }
      `}`}
    />
  )
{'fraction_non_alphanumeric': 0.1387080620931397, 'fraction_numerical': 0.015022533800701052, 'mean_word_length': 2.217391304347826, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5090407', 'n_tokens_mistral': 631, 'n_tokens_neox': 612, 'n_words': 142}