diff --git a/src/components/ThemeColor/index.js b/src/components/ThemeColor/index.js index 57458a4..2a2d66c 100644 --- a/src/components/ThemeColor/index.js +++ b/src/components/ThemeColor/index.js @@ -5,7 +5,11 @@ import defaultTheme from "./default"; import Picker from "./util/Picker"; import ColorCard from "./ColorCard"; -const ThemeColor = () => { +import { useForm } from "react-hook-form"; + +import Input from "../AnimatedInput/Input"; + +const ThemeColor = ({ inputFields }) => { const [item, setItem] = useState(null); const [theme, setTheme] = useState(defaultTheme); putTheme(theme); @@ -25,11 +29,34 @@ const ThemeColor = () => {
Screens
++ بعد از نوشتن عدد مورد نظر حتما از + px + استفاده کنید. +
+ برای مثال: + 444px +
+ {inputFields.map((field) => ( +