INNER CODE UNIT · JavaScript
handleMicrophoneIconClick
cgzirim/seek-tune · client/src/App.js:289
function handleMicrophoneIconClick() {
setAudioInput("mic");
}
return (
<div className="App">
<div className="TopHeader">
<h2 style={{ color: "#374151" }}>SeekTune</h2>
<h4 style={{ display: "flex", justifyContent: "flex-end" }}>
<AnimatedNumber includeComma={true} animateToNumber={totalSongs} />
Songs
</h4>
</div>
<div className="listen">
<Listen
stopListening={stopListening}
disable={false}
startListening={record}