summaryrefslogtreecommitdiff
path: root/src/components/ui/inputfield.tsx
blob: 6b585a913f2778f4fa3c35853d80bfc6547b73fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { Input } from '@/components/ui/input';
import React from 'react';

export function InputField(props: React.InputHTMLAttributes<HTMLInputElement>) {
    return (
        <div className="rounded-[20px] border-violet border-[2px] h-[39px] flex items-center justify-between py-[10px] px-[20px]">
            <Input
                {...props}
                className={`w-full flex text-white placeholder:text-light-violet text-sm min-w-[270px] h-[19px] ${props.className ?? ''}`}
            />
        </div>
    );
}