<commit_before>// @flow
import React from 'react';
import ClassNames from 'classnames';

import HeaderSubMenu from './HeaderSubMenu';

export type SelectMenu = 'sketch' | 'resizeAndRotate' | 'colorTone';

type Props = {||};

type State = {
  selectedTextMenu: SelectMenu,
};

const TEXT_BUTTON_LIST = [
  {value: 'sketch', label: 'スケッチ'},
  {value: 'resizeAndRotate', label: 'リサイズと回転'},
  {value: 'colorTone', label: '色調変更'},
];<commit_msg>定数とFlowの定義方法を変えた。<commit_after>// @flow
import React from 'react';
import ClassNames from 'classnames';

import HeaderSubMenu from './HeaderSubMenu';

const SELECT_MENU_SKETCH: 'sketch' = 'sketch';
const SELECT_MENU_RESIZE_AND_ROTATE: 'resizeAndRotate' = 'resizeAndRotate';
const SELECT_MENU_COLOR_TONE: 'colorTone' = 'colorTone';

export type SelectMenu =
  | typeof SELECT_MENU_SKETCH
  | typeof SELECT_MENU_RESIZE_AND_ROTATE
  | typeof SELECT_MENU_COLOR_TONE;

const TEXT_BUTTON_LIST = [
  {value: SELECT_MENU_SKETCH, label: 'スケッチ'},
  {value: SELECT_MENU_RESIZE_AND_ROTATE, label: 'リサイズと回転'},
  {value: SELECT_MENU_COLOR_TONE, label: '色調変更'},
];

type Props = {||};

type State = {
  selectedTextMenu: SelectMenu,
};
{'fraction_non_alphanumeric': 0.1353448275862069, 'fraction_numerical': 0.0, 'mean_word_length': 6.211180124223603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2610249', 'n_tokens_mistral': 469, 'n_tokens_neox': 452, 'n_words': 95}