diff options
Diffstat (limited to 'src/components/Input')
-rw-r--r-- | src/components/Input/Input.jsx | 22 | ||||
-rw-r--r-- | src/components/Input/Input.module.css | 19 |
2 files changed, 0 insertions, 41 deletions
diff --git a/src/components/Input/Input.jsx b/src/components/Input/Input.jsx deleted file mode 100644 index ee79f3b..0000000 --- a/src/components/Input/Input.jsx +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react' -import styles from './Input.module.css' - -const Input = ({ label, id, value, type, name }) => { - return ( - <div className={styles.input}> - <div className={styles.input__container}> - <label htmlFor={id}>{label}</label> - <input - className={styles.input__field} - type={type} - id={id} - name={name} - value={value} - required - /> - </div> - </div> - ) -} - -export default Input diff --git a/src/components/Input/Input.module.css b/src/components/Input/Input.module.css deleted file mode 100644 index cafb5f1..0000000 --- a/src/components/Input/Input.module.css +++ /dev/null @@ -1,19 +0,0 @@ -.input { - display: flex; - justify-content: center; - font-family: 'Barlow'; - font-size: var(--font-medium-s); -} - -.input__container { - display: flex; - flex-direction: column; -} - -.input__field { - width: 300px; - margin: 10px 0px; - padding: 20px 10px; - border: 3px solid; - border-radius: 10px; -} |