diff --git a/src/components/UI/Input.js b/src/components/UI/Input.js new file mode 100644 index 0000000..93aaba5 --- /dev/null +++ b/src/components/UI/Input.js @@ -0,0 +1,12 @@ +import classes from "./Input.module.css"; + +const Input = (props) => { + return ( +
+ + +
+ ); +}; + +export default Input; diff --git a/src/components/UI/Input.module.css b/src/components/UI/Input.module.css new file mode 100644 index 0000000..1a27294 --- /dev/null +++ b/src/components/UI/Input.module.css @@ -0,0 +1,18 @@ +.input { + display: flex; + align-items: center; + margin-bottom: 0.5rem; +} + +.input label { + font-weight: bold; + margin-right: 1rem; +} + +.input input { + width: 3rem; + border-radius: 5px; + border: 1px solid #ccc; + font: inherit; + padding-left: 0.5rem; +} \ No newline at end of file