'use client'; import { cn } from '@/utils/Helpers'; import * as React from 'react'; import { SelectContext } from './SelectContext'; export default function SelectContent({ children, className }: { children: React.ReactNode; className?: string }) { const context = React.useContext(SelectContext); if (!context) { throw new Error('SelectContent must be used within Select'); } if (!context.open) { return null; } return (