copied new version

This commit is contained in:
Mishalabdullah
2024-05-03 11:10:14 +05:30
parent 80e9e7e6cb
commit ff0cd83613
49 changed files with 300 additions and 644 deletions

View File

@@ -0,0 +1,19 @@
import React from "react";
import styles from "./InputField.module.css";
const InputField = ({ label, value, onChange, placeholder = "Input Text" }) => {
return (
<div className={styles.inputContainer}>
<label className={styles.inputLabel}>{label}</label>
<input
placeholder={placeholder}
className={styles.inputField}
type="text"
value={value}
onChange={onChange}
/>
</div>
);
};
export default InputField;