-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Finder): Finder 컴포넌트 구현 #15
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨어요~~~~~~~~~!
}; | ||
|
||
const onFocus = () => setActivatedIcon(icon); | ||
|
||
const onDoubleClick = (id: DesktopIcon['type']) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id보다는 type이 좀 더 명확한 변수명 같아요!
case 'browser': | ||
window.open(GITHUB_URL); | ||
break; | ||
case 'finder': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
finder에서 내용이 빠져있는데 뭘해주는건가요..?
import { finderSidebarContents } from '@/data/menu/finder-sidebar'; | ||
|
||
export interface TitleBarProps { | ||
location: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
최근항목, 응용프로그램, 문서 등 정해져있어서 string 타입보다는 리터럴 타입을 쓰는 것이 좋을 것 같아요~ 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
좋은 코드네요!! 감사합니다 :)
🧑💻 작업 사항
🐰 시급한 정도
🏃♂️ 보통 : 최대한 빠르게 리뷰 부탁드립니다.
📖 참고 사항