Commit inicial - Sistema de Gestion Hotelera Hacienda San Angel
- Backend Node.js/Express con PostgreSQL - Frontend React 19 con Vite - Docker Compose para orquestacion - Documentacion completa en README.md - Scripts SQL para base de datos - Configuracion de ejemplo (.env.example)
This commit is contained in:
8
frontend/Frontend-Hotel/src/components/Inputs/Input.css
Normal file
8
frontend/Frontend-Hotel/src/components/Inputs/Input.css
Normal file
@@ -0,0 +1,8 @@
|
||||
.input {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin: 8px 0;
|
||||
border-radius: 12px;
|
||||
border: 1px solid #ccc;
|
||||
font-size: 1rem;
|
||||
}
|
||||
17
frontend/Frontend-Hotel/src/components/Inputs/Input.jsx
Normal file
17
frontend/Frontend-Hotel/src/components/Inputs/Input.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
// src/components/Input.jsx
|
||||
import React from "react";
|
||||
import "./Input.css";
|
||||
|
||||
function Input({ type = "text", placeholder, value, onChange }) {
|
||||
return (
|
||||
<input
|
||||
className="input"
|
||||
type={type}
|
||||
placeholder={placeholder}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default Input;
|
||||
Reference in New Issue
Block a user