import { FC, InputHTMLAttributes } from 'react'
import styles from './Input.module.css'
import cx from 'classnames'

type Props = InputHTMLAttributes<HTMLInputElement>

export const Input: FC<Props> = ({ className, ...rest }) => {
  return <input className={cx(className, styles.root)} {...rest} />
}
