theme.tsx 1.66 KB
Newer Older
Kim, MinGyu's avatar
Kim, MinGyu committed
1
import React, { MouseEventHandler } from "react";
백승민's avatar
theme1    
백승민 committed
2
3
4

type ThemeProps = {
  handleClick: MouseEventHandler;
Kim, MinGyu's avatar
Kim, MinGyu committed
5
};
백승민's avatar
백승민 committed
6

Kim, MinGyu's avatar
Kim, MinGyu committed
7
export default function Theme({ handleClick }: ThemeProps) {
백승민's avatar
theme1    
백승민 committed
8
  return (
백승민's avatar
백승민 committed
9
    <div className="overflow-x-auto flex rounded md:justify-center">
백승민's avatar
백승민 committed
10
      <button id={"서핑"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
11
12
        서핑
      </button>
백승민's avatar
백승민 committed
13
      <button id={"액티비티"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
14
15
        액티비티
      </button>
백승민's avatar
백승민 committed
16
      <button id={"캠핑"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300 ">
Kim, MinGyu's avatar
Kim, MinGyu committed
17
18
        캠핑
      </button>
백승민's avatar
백승민 committed
19
      <button id={"스키"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
20
21
        스키
      </button>
백승민's avatar
백승민 committed
22
      <button id={"보트"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
23
24
        보트
      </button>
백승민's avatar
백승민 committed
25
      <button id={"사막"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
26
27
        사막
      </button>
백승민's avatar
백승민 committed
28
      <button id={"골프"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
29
30
        골프
      </button>
백승민's avatar
백승민 committed
31
      <button id={"동굴"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
32
33
        동굴
      </button>
백승민's avatar
백승민 committed
34
      <button id={"문화재"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
35
36
        문화재
      </button>
백승민's avatar
백승민 committed
37
      <button id={"동물원"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
38
39
        동물원
      </button>
백승민's avatar
백승민 committed
40
      <button id={"사이클링"} onClick={handleClick} className="shrink-0 px-5 hover:text-sky-300">
Kim, MinGyu's avatar
Kim, MinGyu committed
41
42
        사이클링
      </button>
백승민's avatar
백승민 committed
43
44
    </div>
  );
Kim, MinGyu's avatar
Kim, MinGyu committed
45
}