import styles from './TodoInput.module.css';

const TodoInput = ({ newTodo, setNewTodo }: any) => {
    
    return (
        <input 
            value={newTodo} 
            onChange={(e) => setNewTodo(e.target.value)} 
            className={styles['form__input']} 
            placeholder='Enter Item' 
        />
    )
}

export default TodoInput;