'use client' import { Icons } from './types' interface NewMeetingModalProps { isDark: boolean meetingType: string meetingTitle: string meetingDuration: number meetingDateTime: string enableLobby: boolean enableRecording: boolean muteOnStart: boolean creating: boolean setMeetingType: (type: string) => void setMeetingTitle: (title: string) => void setMeetingDuration: (duration: number) => void setMeetingDateTime: (dateTime: string) => void setEnableLobby: (val: boolean) => void setEnableRecording: (val: boolean) => void setMuteOnStart: (val: boolean) => void onClose: () => void onSubmit: () => void } export function NewMeetingModal({ isDark, meetingType, meetingTitle, meetingDuration, meetingDateTime, enableLobby, enableRecording, muteOnStart, creating, setMeetingType, setMeetingTitle, setMeetingDuration, setMeetingDateTime, setEnableLobby, setEnableRecording, setMuteOnStart, onClose, onSubmit, }: NewMeetingModalProps) { const inputClass = `w-full px-4 py-3 rounded-xl transition-all focus:outline-none focus:ring-2 ${ isDark ? 'bg-white/10 border border-white/20 text-white focus:ring-white/30' : 'bg-slate-50 border border-slate-300 text-slate-900 focus:ring-blue-300' }` return (

Neues Meeting erstellen

setMeetingTitle(e.target.value)} placeholder="Meeting-Titel eingeben" className={`${inputClass} ${isDark ? 'placeholder-white/40' : 'placeholder-slate-400'}`} />
{meetingType !== 'quick' && (
setMeetingDateTime(e.target.value)} className={inputClass} />
)}
) } function CheckboxOption({ isDark, checked, onChange, label }: { isDark: boolean; checked: boolean; onChange: (val: boolean) => void; label: string }) { return ( ) }