import PropTypes from 'prop-types' const Selector = (props) => { return ( <>
{props.name} {props.value_to_map_from.map((value_to_map_from) => ( ))}
) } Selector.propTypes = { value_to_map_from: PropTypes.array, setSearchQuery: PropTypes.func, name: PropTypes.string, inputname: PropTypes.string, onChange: PropTypes.func, state: PropTypes.object } export default Selector