Styling of home
This commit is contained in:
9
components/shared/Input/Input.tsx
Normal file
9
components/shared/Input/Input.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
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} />
|
||||
}
|
||||
Reference in New Issue
Block a user