fix(web): allow undefined for Field error prop (exactOptionalPropertyTypes)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ export function Button({
|
||||
}
|
||||
|
||||
export function Field(
|
||||
props: InputHTMLAttributes<HTMLInputElement> & { label: string; error?: string },
|
||||
props: InputHTMLAttributes<HTMLInputElement> & { label: string; error?: string | undefined },
|
||||
) {
|
||||
const { label, error, ...input } = props;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user