'use client';
import { Input } from '@/components/ui';
import React from 'react';

export function SourceInput() {
    return (
        <div className="flex flex-col gap-2.5 w-full">
            <span>ИСТОЧНИК</span>
            <Input
                name="source"
                onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>) => {
                    if (e.key === 'Enter') {
                        e.preventDefault();
                    }
                }}
                className="w-full h-10 py-2.5 px-5 border rounded-4xl"
                type="text"
            />
        </div>
    );
}
