<commit_before>import { memo } from 'react';

import Row from '../rows/Row';
import ButtonCircle from '../../zhn-atoms/ButtonCircle';

const S_ROW = { padding: '4px 0 8px 0' }
, S_BUTTON_CIRCLE = { marginLeft: 20 };

const ToolbarButtonCircle = memo(({ buttons }) => (
  <Row.Plain style={S_ROW}>
    {(buttons || []).map(
      ({caption, title, onClick}, index) => (
         <ButtonCircle
           key={caption + index}
           caption={caption}
           title={title}
           style={S_BUTTON_CIRCLE}
           onClick={onClick}
         />
     ))}
  </Row.Plain>
));

export default ToolbarButtonCircle
<commit_msg>Edit import uiApi for ToolbarButtonCircle<commit_after>import { memo } from '../../uiApi';

import Row from '../rows/Row';
import ButtonCircle from '../../zhn-atoms/ButtonCircle';

const S_ROW = { padding: '4px 0 8px 0' }
, S_BUTTON_CIRCLE = { marginLeft: 20 };

const ToolbarButtonCircle = memo(({
  buttons
}) => (
  <Row.Plain style={S_ROW}>
    {(buttons || []).map(
      ({caption, title, onClick}, index) => (
         <ButtonCircle
           key={caption + index}
           style={S_BUTTON_CIRCLE}
           caption={caption}
           title={title}
           onClick={onClick}
         />
     ))}
  </Row.Plain>
));

export default ToolbarButtonCircle

{'fraction_non_alphanumeric': 0.16024653312788906, 'fraction_numerical': 0.009244992295839754, 'mean_word_length': 2.5203252032520327, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '5447289', 'n_tokens_mistral': 430, 'n_tokens_neox': 424, 'n_words': 94}