Channelsettingchange.js 1.46 KB
Newer Older
권병윤's avatar
0807    
권병윤 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { useParams } from "react-router";
import Createchannel from "./Createchannel";
import Deletechannel from "./Deletechannel";

const Channelsettingchange = (props) => {
  const { roomId } = useParams();
  console.log(props);
  console.log(roomId);
  return (
    <div>
      <button
        type="submit"
        data-bs-toggle="modal"
        data-bs-target="#changechannel"
        style={{
          weight: "100px",
          height: "60px",
          backgroundColor: "#f5cfe3",
          borderRadius: "5px",
          color: "black",
          border: "1px #f5cfe3",
        }}
      >
        채널 설정 변경{/* 방 설정 변경으로 바꾸기 */}
      </button>

      <div
        className="modal fade"
        id="changechannel"
        tabIndex="-1"
        aria-labelledby="changechannelsettingLabel"
        aria-hidden="true"
      >
        <div className="modal-dialog">
          <div className="modal-content">
            <div className="modal-header">
              <div className="modal-title" id="changechannelsetting">
                채널 설정 변경
              </div>
              {/* <Createchannel />
              <Deletechannel /> */}
              <button
                type="button"
                className="btn-close"
                data-bs-dismiss="modal"
                aria-label="Close"
              ></button>
            </div>
          </div>
        </div>
      </div>
    </div>
  );
};

export default Channelsettingchange;