<commit_before>import React, { useState } from 'react';
import { TextArea, Box } from 'native-base';

export const Example = () => {
  const [textAreaValue, setTextAreaValue] = useState('Value Controlled');
  const demoValueControlledTextArea = (e: any) => {
    setTextAreaValue(e.currentTarget.value);
  };
  return (
    <Box alignItems="center" w="100%">
      <TextArea
        value={textAreaValue}
        onChange={demoValueControlledTextArea}
        w="75%"
        maxW="300"
      />
    </Box>
  );
};<commit_msg>fix: input value controlled issue<commit_after>import React, { useState } from 'react';
import { TextArea, Box } from 'native-base';

export const Example = () => {
  const [textAreaValue, setTextAreaValue] = useState('Value Controlled');
  // const demoValueControlledTextArea = (e: any) => {
  //   setTextAreaValue(e.currentTarget.value);
  // };
  return (
    <Box alignItems="center" w="100%">
      <TextArea
        value={textAreaValue}
        onChange={(e: any) => setTextAreaValue(e.currentTarget.value)} // for web
        onChangeText={(text: any) => setTextAreaValue(text)} // for android and ios
        w="75%"
        maxW="300"
      />
    </Box>
  );
};
{'fraction_non_alphanumeric': 0.155, 'fraction_numerical': 0.013333333333333334, 'mean_word_length': 3.2140350877192985, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, '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': '3402772', 'n_tokens_mistral': 386, 'n_tokens_neox': 378, 'n_words': 81}