From fa018b316002b7a9f98217226cd17e44acc1337e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20N=2EO=2E=20N=C3=B8rgaard=20Henriksen?= <1136718+raix@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:51:04 +0200 Subject: [PATCH] Format --- ui/components/Card.tsx | 2 +- ui/components/TextField.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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);