9 lines
262 B
TypeScript
9 lines
262 B
TypeScript
|
import React, { InputHTMLAttributes } from "react";
|
||
|
import styles from "./Input.module.css";
|
||
|
|
||
|
export function Input(props: InputHTMLAttributes<HTMLInputElement>) {
|
||
|
return (
|
||
|
<input {...props} className={`${styles.input} ${props.className ?? ""}`} />
|
||
|
);
|
||
|
}
|