10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
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} />
|
|
}
|