Changing input submit to button in Contact Form 7

Hi,

Does changing the input submit to a button in contact form 7 plugin affects it’s sending emails? I changed the input submit to a button to be able to add pseudo elements. I used js to change it, like this (below)

$('.wpcf7-form input[type="submit"]').replaceWith('<button id="submit" type="submit" class="btn icon">' + $('.wpcf7-form input[type="submit"]').val() +'</button>');

let me know if anyone tried it.
thanks