<commit_before>import React from 'react'
import styleable from 'react-styleable'

import css from './row-options.css'

const { func } = React.PropTypes

function RowOptions(props) {
  return (
    <div className={props.css.root}>
      <button className={props.css.option} onClick={props.onClick.bind(null, 'destroy')}>Destroy</button>
      <button className={props.css.option} onClick={props.onClick.bind(null, 'close')}>Close</button>
    </div><commit_msg>keep focus in row options<commit_after>import FocusTrap from 'focus-trap-react'
import React from 'react'
import styleable from 'react-styleable'

import css from './row-options.css'

const { func } = React.PropTypes

function RowOptions(props) {
  return (
    <FocusTrap>
      <div className={props.css.root}>
        <button className={props.css.option} onClick={props.onClick.bind(null, 'destroy')}>Destroy</button>
        <button className={props.css.option} onClick={props.onClick.bind(null, 'close')}>Close</button>
      </div>
    </FocusTrap>
{'fraction_non_alphanumeric': 0.15088757396449703, 'fraction_numerical': 0.0, 'mean_word_length': 4.516304347826087, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '961502', 'n_tokens_mistral': 312, 'n_tokens_neox': 315, 'n_words': 67}