How to invoke contract function

Hello everyone, Is there any reference there for

How to Invoke contract function on react app

Actually, I deploy the staking contract on Solana Devnet. The staking program is created using anchor framework, and now I am trying Integrate that staking program with Ui(which I am creating using react js).so Is there any reference GitHub repo or docs for staking available?