diff options
Diffstat (limited to 'cmd/mirum-server/web/components/ui/input.tsx')
| -rw-r--r-- | cmd/mirum-server/web/components/ui/input.tsx | 12 | +6 −6 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd/mirum-server/web/components/ui/input.tsx b/cmd/mirum-server/web/components/ui/input.tsx index 323a15a..2bd6cad 100644 --- a/cmd/mirum-server/web/components/ui/input.tsx +++ b/cmd/mirum-server/web/components/ui/input.tsx @@ -1,9 +1,9 @@ -// SPDX-FileCopyrightText: 2023 shadcn +// Copyright (c) 2023 shadcn // SPDX-License-Identifier: MIT -import * as React from "react"; +import * as React from "react" -import { cn } from "@/lib/utils"; +import { cn } from "@/lib/utils" function Input({ className, type, ...props }: React.ComponentProps<"input">) { return ( @@ -12,11 +12,11 @@ function Input({ className, type, ...props }: React.ComponentProps<"input">) { data-slot="input" className={cn( "h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", - className, + className )} {...props} /> - ); + ) } -export { Input }; +export { Input } |
