text: import React from 'react';
  import styles from './Input.module.css';
  
  const Input = ({ label, type, name, value, onChange, error, onBlur }) => {
    return (
      <div className={styles.wrapper}>
        <label htmlFor={name} className={styles.label}>
          {label}
        </label>
        <input
          id={name}
          className={styles.input}
          type={type}
          onChange={onChange}
          value={value}
          onBlur={onBlur}
        />
        {error && <p className={styles.error}>{error}</p>}{' '}
        {/* Se existir o erorr, devolva a msg */}
      </div>
    );
  };
  
  export default Input;
  