forked from
slices.network/slices
Highly ambitious ATProtocol AppView service and sdks
1interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
2 // You can add custom props here if needed
3}
4
5export function Input({ className, ...props }: InputProps) {
6 return (
7 <input
8 className={`w-full px-3 py-2 bg-zinc-900 border border-zinc-800 rounded text-sm text-zinc-300 focus:outline-none focus:border-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed ${className || ''}`}
9 {...props}
10 />
11 );
12}