summaryrefslogtreecommitdiff
path: root/src/components/upload/SourceInput.tsx
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2025-12-30 13:46:39 +0200
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2025-12-30 13:46:39 +0200
commitc3dcb9c827df6d80ad1b0b1a7c6155561527b39d (patch)
tree76d8b9e706f9e8fcf7acc157a633905ff16c6b74 /src/components/upload/SourceInput.tsx
init
Diffstat (limited to 'src/components/upload/SourceInput.tsx')
-rw-r--r--src/components/upload/SourceInput.tsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/upload/SourceInput.tsx b/src/components/upload/SourceInput.tsx
new file mode 100644
index 0000000..c93c4b6
--- /dev/null
+++ b/src/components/upload/SourceInput.tsx
@@ -0,0 +1,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>
+ );
+}