<commit_before>import React from 'react'
import classNames from 'classnames'
import { TextInputAndSelect } from 'kitten/components/form/text-input-and-select'

export const FormAmountAndCurrency = props => {
  const { currencyOptions,
          currencyName,
          currencyValue,
          ...textInputAndSelectProps } = props

  return (
    <TextInputAndSelect
      selectOptions={ currencyOptions }
      selectName={ currencyName }
      selectValue={ currencyValue }
      key={ currencyName }
      type="number"
      { ...textInputAndSelectProps } />
  )
}

FormAmountAndCurrency.defaultProps = {
  tiny: false,
  disabled: false,
  currencyOptions: [{ value: 'eur', label: 'EUR' }],
  currencyName: null,
  currencyValue: null,
  digits: null, // 2 or 12 for now
}
<commit_msg>Minor FormAmountAndCurrency syntax fix (#988)<commit_after>import React from 'react'
import classNames from 'classnames'
import { TextInputAndSelect } from 'kitten/components/form/text-input-and-select'

export const FormAmountAndCurrency = props => {
  const {
    currencyOptions,
    currencyName,
    currencyValue,
    ...textInputAndSelectProps
  } = props

  return (
    <TextInputAndSelect
      selectOptions={ currencyOptions }
      selectName={ currencyName }
      selectValue={ currencyValue }
      key={ currencyName }
      type="number"
      { ...textInputAndSelectProps }
    />
  )
}

FormAmountAndCurrency.defaultProps = {
  tiny: false,
  disabled: false,
  currencyOptions: [{ value: 'eur', label: 'EUR' }],
  currencyName: null,
  currencyValue: null,
  digits: null, // 2 or 12 for now
}

{'fraction_non_alphanumeric': 0.10772104607721046, 'fraction_numerical': 0.00560398505603985, 'mean_word_length': 3.355013550135501, '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': '6890146', 'n_tokens_mistral': 476, 'n_tokens_neox': 468, 'n_words': 114}