-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#13] 속성 패널, 레이어 패널 기능구현 #14
Conversation
@@ -12,7 +11,7 @@ export const TOOLS = [ | |||
{ id: "rectangle", icon: BsSquare, title: "사각형" }, | |||
{ id: "circle", icon: BsCircle, title: "원형" }, | |||
{ id: "polygon", icon: BsTriangle, title: "다각형" }, | |||
{ id: "text", icon: BsTextareaT, title: "텍스트" }, | |||
//{ id: "text", icon: BsTextareaT, title: "텍스트" }, |
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.
삭제 안하신 이유가 있나요?
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.
현재 텍스트 기능을 구현 못해서 일단 지워놨습니다.
동작하지 않는데 메뉴에 있으면 안된다고 생각했습니다.
|
||
export const RectangleProperties = () => { | ||
const { toolSettings, updateToolSettings } = useEditorStore(); | ||
const settings = toolSettings.rectangle; | ||
return ( | ||
<div className="space-y-4"> | ||
<NumberInput |
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.
인풋들 컴포넌트화 잘해두셔서 재사용성이 아주 좋네요~~!
[#15] 설정 내보내기, 불러오기
|
TODO