asi-calculator/components/Input/Input.tsx

9 lines
232 B
TypeScript
Raw Normal View History

2024-04-01 15:23:01 +02:00
import { InputHTMLAttributes } from 'react'
import styles from './Input.module.css'
type Props = InputHTMLAttributes<HTMLInputElement>
export function Input(props: Props) {
return <input className={styles.input} {...props} />
}