diff --git a/src/components/BaseInput.jsx b/src/components/BaseInput.jsx
new file mode 100644
index 0000000..102abed
--- /dev/null
+++ b/src/components/BaseInput.jsx
@@ -0,0 +1,28 @@
+const BaseInput = ({
+ label,
+ value,
+ onChangeCallback,
+ placeholder = "",
+ suffix,
+ inputWidth = "w-[60px]",
+ inputClassName = "",
+}) => {
+ return (
+
+
+
+ {suffix}
+
+
+ );
+};
+
+export default BaseInput;
diff --git a/src/components/LoanDurationInput.jsx b/src/components/LoanDurationInput.jsx
index d5e42c1..5013a4f 100644
--- a/src/components/LoanDurationInput.jsx
+++ b/src/components/LoanDurationInput.jsx
@@ -1,19 +1,12 @@
-const DurationInput = ({ onChangeCallback, loanDuration }) => {
- return (
-
-
-
- Meses
-
-
- );
-};
+import BaseInput from "./BaseInput";
-export default DurationInput;
+const LoanDurationInput = ({ onChangeCallback, loanDuration }) => (
+
+);
+
+export default LoanDurationInput;
\ No newline at end of file
diff --git a/src/components/LoanInterestInput.jsx b/src/components/LoanInterestInput.jsx
index 449c091..a9054d4 100644
--- a/src/components/LoanInterestInput.jsx
+++ b/src/components/LoanInterestInput.jsx
@@ -1,19 +1,12 @@
-const InterestInput = ({ onChangeCallback, loanInterest }) => {
- return (
-
-
-
- %
-
-
- );
-};
+import BaseInput from "./BaseInput";
-export default InterestInput;
+const LoanInterestInput = ({ onChangeCallback, loanInterest }) => (
+
+);
+
+export default LoanInterestInput;
diff --git a/src/components/LoanPrincipalInput.jsx b/src/components/LoanPrincipalInput.jsx
index 6c1c7cf..95b429b 100644
--- a/src/components/LoanPrincipalInput.jsx
+++ b/src/components/LoanPrincipalInput.jsx
@@ -1,20 +1,15 @@
-const PrincipalInput = ({onChangeCallback, loanPrincipal}) => {
- return (
-
-
-
-
- €
-
-
- );
-};
+import BaseInput from "./BaseInput";
-export default PrincipalInput;
+const LoanPrincipalInput = ({ onChangeCallback, loanPrincipal }) => (
+
+);
+
+export default LoanPrincipalInput;