diff options
Diffstat (limited to 'cmd/mirum-server/web/components/ui/input.tsx')
| -rw-r--r-- | cmd/mirum-server/web/components/ui/input.tsx | 22 | +0 −22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cmd/mirum-server/web/components/ui/input.tsx b/cmd/mirum-server/web/components/ui/input.tsx deleted file mode 100644 --- a/cmd/mirum-server/web/components/ui/input.tsx +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-FileCopyrightText: 2023 shadcn -// SPDX-License-Identifier: MIT - -import * as React from "react"; - -import { cn } from "@/lib/utils"; - -function Input({ className, type, ...props }: React.ComponentProps<"input">) { - return ( - <input - type={type} - 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, - )} - {...props} - /> - ); -} - -export { Input }; |
