You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
292 B
JavaScript
12 lines
292 B
JavaScript
5 years ago
|
import React from 'react'
|
||
|
|
||
|
import styles from './styles.module.css'
|
||
|
|
||
|
export default function Input({type, name, value, onChange, isValid}){
|
||
|
return (
|
||
|
<div className={styles.formElementContainer}>
|
||
|
<input type={type} name={name} value={value} onChange={onChange} />
|
||
|
</div>
|
||
|
)
|
||
|
}
|