diff --git a/ui/components/Card.tsx b/ui/components/Card.tsx index 55b825b..6c53075 100644 --- a/ui/components/Card.tsx +++ b/ui/components/Card.tsx @@ -2,7 +2,7 @@ import type { PropsWithChildren } from "react"; import { tv } from "tailwind-variants"; const cardStyles = tv({ - base: "flex flex-col gap-2 bg-card text-card-foreground border-2 border-border rounded-lg shadow-sm p-4 w-fit items-center justify-center", + base: "flex flex-col gap-2 bg-card text-card-foreground border-2 border-border rounded-lg shadow-sm p-4 w-fit items-center justify-center" }); type CardProps = { diff --git a/ui/components/TextField.tsx b/ui/components/TextField.tsx index 04d2f51..6f4bc64 100644 --- a/ui/components/TextField.tsx +++ b/ui/components/TextField.tsx @@ -25,7 +25,9 @@ const inputStyles = tv({ } }); -export interface TextFieldProps extends AriaTextFieldProps, Partial> { +export interface TextFieldProps + extends AriaTextFieldProps, + Partial> { label?: string; description?: string; errorMessage?: string | ((validation: ValidationResult) => string);