[feat] negosium/front: 아이마켓 보고서 기준 토스풍 UI 리뉴얼 — 로그인·포털 목록(KPI·모바일 카드)·협상방 3단(말풍선·타임라인·결과/성공률 카드)·모바일 드로어, 목록 서버 페이징 유지·검색 비움
This commit is contained in:
1 parent
03c22f9474
commit
2386cb8867
58 files changed
+1394
-1178
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { create } from 'zustand'
|
||||
|
||||
// 모바일(lg 미만) 협상 화면에서 좌/우 패널을 드로어로 여닫는 상태.
|
||||
type Drawer = 'product' | 'status' | null
|
||||
|
||||
interface ChatUiStore {
|
||||
drawer: Drawer
|
||||
open: (drawer: Exclude<Drawer, null>) => void
|
||||
close: () => void
|
||||
}
|
||||
|
||||
export const useChatUiStore = create<ChatUiStore>((set) => ({
|
||||
drawer: null,
|
||||
open: (drawer) => set({ drawer }),
|
||||
close: () => set({ drawer: null }),
|
||||
}))
|
||||
Reference in new issue
Block a user