import React from 'react'; interface TmaInputProps { label?: string; value: string; onChange: (e: React.ChangeEvent) => void; placeholder?: string; type?: 'text' | 'number' | 'password'; error?: string; } export default function TmaInput({ label, value, onChange, placeholder, type = 'text', error }: TmaInputProps) { return (
{label && } {error && {error}}
); }