1
0
Fork 0
blog/src/components/atoms/Input.tsx

10 lines
306 B
TypeScript
Raw Normal View History

2023-01-29 22:58:19 +01:00
import React, { InputHTMLAttributes, ReactElement } from 'react'
import * as styles from './Input.module.css'
2019-10-02 13:35:50 +02:00
2021-06-11 22:08:11 +02:00
export default function Input({
className,
...props
}: InputHTMLAttributes<HTMLInputElement>): ReactElement {
return <input className={`${styles.input} ${className || ''}`} {...props} />
2019-10-02 13:35:50 +02:00
}