import { useState } from 'react'; import type { RecentThought } from '@/entities/session'; import { InboxList } from '@/features/inbox'; interface InboxToolPanelProps { thoughts: RecentThought[]; onCompleteThought: (thought: RecentThought) => void; onDeleteThought: (thought: RecentThought) => void; onClear: () => void; } export const InboxToolPanel = ({ thoughts, onCompleteThought, onDeleteThought, onClear, }: InboxToolPanelProps) => { const [confirmOpen, setConfirmOpen] = useState(false); return (

나중에 모아보는 읽기 전용 인박스

{confirmOpen ? (

정말 인박스를 비울까요?

실수라면 토스트에서 실행취소할 수 있어요.

) : null}
); };