import { ChevronDown } from 'lucide-solid';
import { cn } from '@/lib/utils';
export interface SelectProps {
value?: string;
onValueChange?: (value: string) => void;
children?: any;
class?: string;
}
export function Select(props: SelectProps) {
return props.children;
}
export interface SelectTriggerProps {
children?: any;
class?: string;
}
export function SelectTrigger(props: SelectTriggerProps) {
return (
{props.children}
);
}
export interface SelectValueProps {
placeholder?: string;
value?: string;
}
export function SelectValue(props: SelectValueProps) {
return {props.value || props.placeholder};
}
export interface SelectContentProps {
children?: any;
class?: string;
}
export function SelectContent(props: SelectContentProps) {
return (
);
}
export interface SelectItemProps {
value: string;
children: any;
onClick?: (value: string) => void;
class?: string;
}
export function SelectItem(props: SelectItemProps) {
return (
props.onClick?.(props.value)}
>
{props.children}
);
}