Recaptcha in contact-form 7

What is the best way to add recaptcha v2 or v3 in contact form 7;

my code:

const ContactPage = ({ state, libraries }) => {

const data = state.source.get("/contact");
const contactForm = state.source.page[data.id];
const Html2React = libraries.html2react.Component;

return (
  <>
            <ContactFormWrapper>
                <ContactForm>
                    <Html2React html={contactForm.content.rendered} />
                </ContactForm>
            </ContactFormWrapper>

Thanks for help!

Hi @rborowski.shovv,

I’m not sure about this. Maybe @imranhsayed (the author of the package) can help you with this

I encourage you to open an issue in the repository of the package

so the owner can take your question into account and provide a proper support.