mirror of https://github.com/kremalicious/blog.git
10 lines
297 B
TypeScript
10 lines
297 B
TypeScript
import React, { ReactElement, InputHTMLAttributes } from 'react'
|
|
import { input } from './Input.module.css'
|
|
|
|
export default function Input({
|
|
className,
|
|
...props
|
|
}: InputHTMLAttributes<HTMLInputElement>): ReactElement {
|
|
return <input className={`${input} ${className || ''}`} {...props} />
|
|
}
|