feat: 히어로 날씨 점수 옆 ? 버튼 — 누르면 비중 막대(칸 넓이=비중, 채운 만큼=얻은 점수)와 조건별 지금 값으로 점수 근거를 보여 주는 창
This commit is contained in:
1 parent
8f95519cb6
commit
b7d4df4d7a
8 files changed
+190
-6
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import type { MyGak } from './myGakState'
|
||||
import type { WeatherWhyPayload } from './weatherWhy'
|
||||
import { createContext, use } from 'react'
|
||||
/** square: 1:1 비율일 때 slides 대신 찍을 틀 (없으면 slides) */
|
||||
export type SharePayload = { title: string; slides: HTMLElement[]; square?: HTMLElement[] }
|
||||
@@ -16,6 +17,7 @@ export type SheetState =
|
||||
| { type: 'region' }
|
||||
| { type: 'mix'; shared?: MyGak }
|
||||
| { type: 'install' }
|
||||
| { type: 'weatherWhy'; why: WeatherWhyPayload }
|
||||
| null
|
||||
|
||||
export type SheetApi = { open: (s: Exclude<SheetState, null>) => void; close: () => void }
|
||||
|
||||
Reference in new issue
Block a user