({ label, ...props })
| 2 | import styles from "./Input.module.css"; |
| 3 | |
| 4 | export const Input = ({ label, ...props }) => { |
| 5 | return ( |
| 6 | <div className={styles.container}> |
| 7 | <label className={styles.inner}> {label} </label> |
| 8 | <input |
| 9 | type="text" |
| 10 | name={label} |
| 11 | className={styles.inner} |
| 12 | {...props} |
| 13 | /> |
| 14 | </div> |
| 15 | ); |
| 16 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected