<commit_before>import StarRating from 'react-native-star-rating';
import React, { Component } from 'react';

class GeneralStarExample extends Component {

  constructor(props) {
    super(props);
    this.state = {
      starCount: 3.5,
    };
  }

  onStarRatingPress(rating) {
    this.setState({
      starCount: rating });
  }

  render() {
    return (
      <StarRating
        disabled={false}
        maxStars={5}
        rating={this.state.starCount}
        selectedStar={rating => this.onStarRatingPress(rating)}
      />
    );
  }
}

export default GeneralStarExample;
<commit_msg>Update other stars<commit_after>import StarRating from 'react-native-star-rating';
import React, { Component } from 'react';
import { MAIN_CERISE } from '../../common/colors';

class GeneralStarExample extends Component {

  constructor(props) {
    super(props);
    this.state = {
      starCount: 3.5,
    };
  }

  onStarRatingPress(rating) {
    this.setState({
      starCount: rating });
  }

  render() {
    return (
      <StarRating
        emptyStarColor={MAIN_CERISE}
        starColor={MAIN_CERISE}
        starSize={40}
        iconSet={'MaterialIcons'}
        fullStar={'star'}
        emptyStar={'star-border'}
        halfStar={'star-half'}
        disabled={false}
        maxStars={5}
        rating={this.state.starCount}
        selectedStar={rating => this.onStarRatingPress(rating)}
      />
    );
  }
}

export default GeneralStarExample;

{'fraction_non_alphanumeric': 0.12945205479452054, 'fraction_numerical': 0.005479452054794521, 'mean_word_length': 2.6801007556675063, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7244850', 'n_tokens_mistral': 457, 'n_tokens_neox': 443, 'n_words': 79}