import React from "react" import styles from "./input.module.css" type Props = React.HTMLProps & { label?: string width?: number | string height?: number | string } // eslint-disable-next-line react/display-name const Input = React.forwardRef( ({ label, className, width, height, ...props }, ref) => { const classes = [styles.input, styles.withLabel, className].join(" ") return (
{label && }
) } ) export default Input