/** * * InputSearch * */ import React from 'react'; import { FormattedMessage } from 'react-intl'; import { isEmpty } from 'lodash'; import cn from 'classnames'; import PropTypes from 'prop-types'; import styles from './styles.scss'; class InputSearch extends React.Component { // eslint-disable-line react/prefer-stateless-function state = { errors: [] }; render() { return (
{(message) => ( )}
); } } InputSearch.defaultProps = { labelValues: { number: 0, }, value: '', } InputSearch.proptypes = { label: PropTypes.string.isRequired, labelValues: PropTypes.object, name: PropTypes.string.isRequired, onChange: PropTypes.func.isRequired, value: PropTypes.string, }; export default InputSearch;