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