summaryrefslogtreecommitdiff
path: root/src/components/upload/SourceInput.tsx
blob: c93c4b6a6dfebf1c900c58dc559b2c32ae76cf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'use client';
import { Input } from '@/components/ui';

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