Reset a Client Realm - React Native SDK

Hi , we are currently using realm Flexible Sync , but we are having trouble setting up the client reset , we looked at Manual Client Reset but there was no example of how to do it with Realm React , any suggestions on how to do this ?
Thank you