import type {FC, InputHTMLAttributes} from 'react'; import styles from './Input.module.scss'; interface InputProps extends InputHTMLAttributes { label?: string; } export const Input: FC = ({label, id, className, ...props}) => ( {label && ( {label} )} );