diff --git a/src/assets/img/trash.svg b/src/assets/img/trash.svg new file mode 100644 index 0000000..77e363c --- /dev/null +++ b/src/assets/img/trash.svg @@ -0,0 +1,4 @@ + diff --git a/src/components/input/signUpInput.js b/src/components/input/signUpInput.js index eacb557..cbe8f13 100644 --- a/src/components/input/signUpInput.js +++ b/src/components/input/signUpInput.js @@ -22,35 +22,35 @@ const inputStatusHandler = (value, focus, status, primary, success, danger) => { } }; -export default function Input(props) { +export default function Input({ backgroundColor, + lang, + theme, + inputMode, + label, + status, + maxLength, + message, + onChange, + align, + name, + regex, + direction, + width, + + title, + borderType, + gapSize, + id, + type, + className, + style, + bg}) { const [value, setValue] = useState(""); const [focusToggle, setFocusToggle] = useState(false); - const { - backgroundColor, - lang, - theme, - inputMode, - label, - status, - maxLength, - message, - onChange, - align, - name, - regex, - direction, - width, - - title, - borderType, - gapSize, - id, - type, - className, - style, - bg - } = props; + // const { + + // } = props; const focusHandler = (id) => { let inputs = document.querySelectorAll(".Login-box-form-item"); @@ -106,12 +106,12 @@ const blurHandler = (id) => { {label} */} { const [imageUrl, setImageUrl] = useState([]); const [selectedImage, setSelectedImage] = useState(null); const [fakeState, setFakeState] = useState(5); + const [deleteFirst, setDeleteFirst] = useState(false) useEffect(() => { if (selectedImage) { @@ -21,8 +23,18 @@ const AddPic = () => {
تصویر شاخص
*/}