import ScreenSelect from './ScreenSelect' import video_btn from '../../videobtn.png' import speaker_btn from '../../speakerbtn.png' import mic_btn from '../../micbtn.png' import videooff_btn from '../../videooffbtn.png' import speakeroff_btn from '../../speakeroffbtn.png' import micoff_btn from '../../micoffbtn.png' import React, { useState } from 'react'; const Controller = () => { const [mic, setMic] = useState("true") const [video, setVideo] = useState("true") const [speaker, setSpeaker] = useState("true") const micOn = (() => setMic(false)); const micOff = (() => setMic(true)); const speakerOn = (() => setSpeaker(false)); const speakerOff = (() => setSpeaker(true)); const videoOn = (() => setVideo(false)); const videoOff = (() => setVideo(true)); return (
{mic ?
:
} {speaker ?
:
} {video ?
:
}
) } export default Controller