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

10 lines
306 B
TypeScript
Raw Normal View History

import React, { ReactElement, InputHTMLAttributes } 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
}