chore: remove legacy workspace and restructure API + modular admin UI
This commit is contained in:
10
packages/admin/src/ui/Input.tsx
Normal file
10
packages/admin/src/ui/Input.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { InputHTMLAttributes } from "react";
|
||||
|
||||
export function Input({ className = "", ...props }: InputHTMLAttributes<HTMLInputElement>) {
|
||||
return (
|
||||
<input
|
||||
className={`w-full rounded-lg border border-slate-200 bg-white px-4 py-2 text-sm shadow-sm transition focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-100 ${className}`}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user