React audio recorders which allows you to send audio files to server.
npm install --save reactjs-audio-recorder styled-components
or
npm add reactjs-audio-recorder styled-components
import React, { Component } from 'react'
import { ReactAudioRecorder } from 'reactjs-audio-recorder'
import 'reactjs-audio-recorder/dist/index.css'
class Example extends Component {
render() {
return <ReactAudioRecorder />
}
}
Author: alipetarian
Source Code: https://github.com/alipetarian/reactjs-audio-recorder
#reactjs #react #javascript