import ScreenSelect from "./ScreenSelect"; import video_btn from "../../images/videobtn.png"; import speaker_btn from "../../images/speakerbtn.png"; import mic_btn from "../../images/micbtn.png"; import videooff_btn from "../../images/videooffbtn.png"; import speakeroff_btn from "../../images/speakeroffbtn.png"; import micoff_btn from "../../images/micoffbtn.png"; import React, { useState } from "react"; const Controller = (props) => { console.log(props); const { mic, video, speaker, micClick, speakerClick, videoClick } = props; return (
{mic ? (
) : (
)} {speaker ? (
) : (
)} {video ? (
) : (
)}
{/* */}
); }; export default Controller;