/**
*
* InputSearchLi
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import styles from './styles.scss';
function InputSearchLi({ item, onClickDelete }) {
return (
{item.name}
onClickDelete(item)}>
);
}
InputSearchLi.defaultProps = {
item: {
name: '',
}
}
InputSearchLi.proptypes = {
item: PropTypes.object,
onClickDelete: PropTypes.func.isRequired,
};
export default InputSearchLi;