<commit_before>import React, { Component } from 'react'

import { List, Image } from 'semantic-ui-react'

export default class Tab extends Component {
  render () {
    return (
      <List.Item onClick={(e) => this.props.onClick(this.props.tabId)}>
        <Image avatar src={this.props.favicon} />
        <List.Content>
          <List.Header>{this.props.title}</List.Header>
        </List.Content>
      </List.Item>
    )
  }
}<commit_msg>added tabindex for tabkey support<commit_after>import React, { Component } from 'react'

import { List, Image } from 'semantic-ui-react'

export default class Tab extends Component {
  render () {
    return (
      <List.Item onClick={(e) => this.props.onClick(this.props.tabId)} tabIndex={this.props.tabIndex}>
        <Image avatar src={this.props.favicon} />
        <List.Content>
          <List.Header>{this.props.title}</List.Header>
        </List.Content>
      </List.Item>
    )
  }
}
{'fraction_non_alphanumeric': 0.15196599362380447, 'fraction_numerical': 0.0, 'mean_word_length': 2.7983870967741935, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, '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': '4710585', 'n_tokens_mistral': 302, 'n_tokens_neox': 296, 'n_words': 61}