diff --git a/src/components/Roof2.jsx b/src/components/Roof2.jsx
index 9c783a77..98e3321a 100644
--- a/src/components/Roof2.jsx
+++ b/src/components/Roof2.jsx
@@ -1,14 +1,22 @@
import { useCanvas } from '@/hooks/useCanvas'
-import { useEffect } from 'react'
+import { useEffect, useState } from 'react'
import { Mode, useMode } from '@/hooks/useMode'
import QRect from '@/components/fabric/QRect'
import QLine from '@/components/fabric/QLine'
import QPolygon from '@/components/fabric/QPolygon'
+import RangeSlider from './ui/RangeSlider'
export default function Roof2() {
const { canvas, handleRedo, handleUndo, setCanvasBackgroundWithDots } =
useCanvas('canvas')
+ //canvas 가로 사이즈
+ const [verticalSize, setVerticalSize] = useState(0)
+ //canvas 세로 사이즈
+ const [horizontalSize, setHorizontalSize] = useState(0)
+ // 글자크기
+ const [fontSize, setFontSize] = useState(0)
+
const {
mode,
changeMode,
@@ -76,109 +84,146 @@ export default function Roof2() {
return (
<>
{canvas && (
-
-
-
-
-
-
-
-
-
-
-
-
- 현재 줌 : {zoom}%
-
-
-
-
-
-
+ <>
+
+
+
+
+
+
+
+
+
+
+
+
+ 현재 줌 : {zoom}%
+
+
+
+
+
+
+
+ >
)}
{} },
+) {
+ const { title, initValue, onchange } = props
+
+ const handleChange = (e) => {
+ console.log(e.target.value)
+ onchange(e.target.value)
+ }
+
+ return (
+ <>
+
+
+ >
+ )
+}