简体   繁体   中英

I am using react-native-camera for video recording in my React Native App. I want to show timer with it. I am new to React Native

This my code for recording a video

https://i.stack.imgur.com/R32yV.png

You can use this libraryreact-native-stopwatch-timer , then you can use their Stopwatch component to start the timer, example code is already in the mentioned package. Hope this works for you!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM