Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
raix committed Jul 16, 2024
1 parent 323ed37 commit fa018b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 3 additions & 1 deletion ui/components/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const inputStyles = tv({
}
});

export interface TextFieldProps extends AriaTextFieldProps, Partial<Pick<HTMLInputElement, "autocomplete" | "placeholder">> {
export interface TextFieldProps
extends AriaTextFieldProps,
Partial<Pick<HTMLInputElement, "autocomplete" | "placeholder">> {
label?: string;
description?: string;
errorMessage?: string | ((validation: ValidationResult) => string);
Expand Down

0 comments on commit fa018b3

Please sign in to comment.