A react voice recorder component that records audio within a specified duration and generates audio file and url