Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

refactor(app): changed props for 'tags-input'

bjst0necd67ae369bb1
diff --git a/flowsint-app/src/components/ui/tags-input.tsx b/flowsint-app/src/components/ui/tags-input.tsx
index a02d043f..26b9c2f1 100644
--- a/flowsint-app/src/components/ui/tags-input.tsx
+++ b/flowsint-app/src/components/ui/tags-input.tsx
@@ -1,4 +1,3 @@
-// src/components/ui/tags-input.tsx
import * as React from 'react';
import { X } from 'lucide-react';
import { Badge } from '@/components/ui/badge';
@@ -6,14 +5,16 @@ import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { cn } from '@/lib/utils';
-interface TagsInputProps extends React.HTMLAttributes<HTMLDivElement> {
+interface TagsInputProps {
+ id?: string | undefined;
value: string[];
onChange: (tags: string[]) => void;
placeholder?: string;
disabled?: boolean;
- orientation: 'vertical' | 'horizontal';
- variant: 'full' | 'compact'
-}
+ orientation?: 'vertical' | 'horizontal';
+ variant?: 'full' | 'compact';
+ className?: string | undefined;
+};
function TagsInput({
id,