const [notification, setNotification] = useState('email');
const [theme, setTheme] = useState('');
<div className="space-y-6">
<div>
<h4 className="text-sm font-semibold mb-3">알림 수신 방법</h4>
<div className="space-y-2">
<Radio
label="이메일"
name="notification"
value="email"
checked={notification === 'email'}
onChange={(e) => setNotification(e.target.value)}
helperText="이메일로 알림을 받습니다."
/>
<Radio
label="SMS"
name="notification"
value="sms"
checked={notification === 'sms'}
onChange={(e) => setNotification(e.target.value)}
helperText="문자 메시지로 알림을 받습니다."
/>
<Radio
label="푸시 알림"
name="notification"
value="push"
checked={notification === 'push'}
onChange={(e) => setNotification(e.target.value)}
helperText="앱 푸시 알림으로 받습니다."
/>
</div>
</div>
<div>
<h4 className="text-sm font-semibold mb-3">테마 선택 (필수)</h4>
<div className="space-y-2">
<Radio
label="라이트 모드"
name="theme"
value="light"
checked={theme === 'light'}
onChange={(e) => setTheme(e.target.value)}
error={!theme ? "테마를 선택해주세요." : undefined}
/>
<Radio
label="다크 모드"
name="theme"
value="dark"
checked={theme === 'dark'}
onChange={(e) => setTheme(e.target.value)}
error={!theme ? "테마를 선택해주세요." : undefined}
/>
</div>
</div>
</div>