refactor: components>ui>QSelect.jsx 파일 삭제

This commit is contained in:
Daseul Kim 2024-10-08 16:20:38 +09:00
parent 875a3004fd
commit d406a2ea92

View File

@ -1,35 +0,0 @@
import { Select, SelectItem } from '@nextui-org/react'
import styles from './QSelect.module.css'
import { useEffect } from 'react'
const animals = [
{ key: 'cat', label: 'Cat' },
{ key: 'dog', label: 'Dog' },
{ key: 'elephant', label: 'Elephant' },
{ key: 'lion', label: 'Lion' },
{ key: 'tiger', label: 'Tiger' },
{ key: 'giraffe', label: 'Giraffe' },
{ key: 'dolphin', label: 'Dolphin' },
{ key: 'penguin', label: 'Penguin' },
{ key: 'zebra', label: 'Zebra' },
{ key: 'shark', label: 'Shark' },
{ key: 'whale', label: 'Whale' },
{ key: 'otter', label: 'Otter' },
{ key: 'crocodile', label: 'Crocodile' },
]
export default function QSelect() {
useEffect(() => {}, [])
return (
<>
<div className="flex w-full flex-wrap md:flex-nowrap gap-4">
<Select label="Select an animal" className="max-w-xs">
{animals.map((animal) => (
<SelectItem key={animal.key}>{animal.label}</SelectItem>
))}
</Select>
</div>
<div className={styles.test}>test</div>
</>
)
}