Files
node-factorio-recipes/components/shared/Input/Input.tsx
Sebastian Seedorf d964748a66 Styling of home
2022-08-22 17:04:39 +02:00

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} />
}