diff --git a/src/App.js b/src/App.js index 906a587..5765906 100644 --- a/src/App.js +++ b/src/App.js @@ -117,7 +117,7 @@ function App() { */} {/* */} {/* */} - {/* */} + {/* */} {/* */} {/* */} diff --git a/src/components/PopupCard/index.js b/src/components/PopupCard/index.js index 48c10f2..53b7657 100644 --- a/src/components/PopupCard/index.js +++ b/src/components/PopupCard/index.js @@ -6,6 +6,7 @@ import calender from "./calender.svg"; const PopupCard = ({ textArea }) => { const [activeInput, setActiveInput] = useState(false); + const [checklist, setChecklist] = useState(0); return (
@@ -76,13 +77,10 @@ const PopupCard = ({ textArea }) => { {/* divider */}
{/* middle */} -
+
{/* right */} -
- +
+ {textArea} { > نام کارت -
- - چک لیست ها +
+
+ + چک لیست ها +
+ {checklist} + +
+ setChecklist(checklist + 25)} + /> + چک لیست ها +
+
+ setChecklist(checklist + 25)} + /> + چک لیست ها +
{/* divider */} -
+
+ {/* left */} +
+
+ + +
+