theme.tsx 639 Bytes
Newer Older
백승민's avatar
theme1    
백승민 committed
1
2
3
4
5
6
7
8
import React, { MouseEvent, MouseEventHandler } from "react";

type ThemeProps = {
  handleClick: MouseEventHandler;
}
export default function Theme({handleClick}: ThemeProps) {
  return (
    <div className="flex flex-cols-10 justify-evenly w-full bg-emerald-400 rounded ">
백승민's avatar
백승민 committed
9
10
11
12
13
14
15
16
17
18
      <button id={"01"} onClick={handleClick}>서핑</button>
      <button>액티비티</button>
      <button>캠핑</button>
      <button>스키</button>
      <button>보트</button>
      <button>사막</button>
      <button>골프</button>
      <button>동굴</button>
      <button>문화재</button>
      <button>동물원</button>
백승민's avatar
theme1    
백승민 committed
19
20
21
    </div> 
  ); 
};