// eslint-disable-next-line import React, { useEffect, useState } from 'react'; import { Select, MenuItem } from '@material-ui/core'; import FormControl from '@material-ui/core/FormControl'; import InputLabel from '@material-ui/core/InputLabel'; import { Images } from 'images/Images'; import './CountryDropdown.css'; import { CountryLabel } from 'types'; const CountryDropdown = ({ input: { onChange } }) => { const [state, setState] = useState(''); useEffect(() => onChange(state), [state]); return ( Country ) }; export default CountryDropdown;