♻️ refactor: Remove default options from TagInput component for improved flexibility

This commit is contained in:
web 2025-09-03 07:59:29 -07:00
parent b6e778d482
commit 6a3bb7016e

View File

@ -19,19 +19,7 @@ export function TagInput({
placeholder,
separator = ',',
className,
options = [
'test',
'example',
'demo',
'sample',
'react',
'javascript',
'typescript',
'nodejs',
'vue',
'angular',
'svelte',
],
options = [],
}: TagInputProps) {
const [inputValue, setInputValue] = useState('');
const [tags, setTags] = useState<string[]>(value);