import React from 'react'; import { DYNASTY_OPTIONS, CUSTOMIZATION_OPTIONS } from '../constants'; import { Dynasty } from '../types'; import { Check } from 'lucide-react'; interface OptionsPanelProps { selectedDynasty: Dynasty; onSelectDynasty: (d: Dynasty) => void; selectedCustomizations: string[]; onToggleCustomization: (id: string) => void; isGenerating: boolean; onGenerate: () => void; hasImage: boolean; } export const OptionsPanel: React.FC = ({ selectedDynasty, onSelectDynasty, selectedCustomizations, onToggleCustomization, isGenerating, onGenerate, hasImage }) => { return (
{/* Dynasty Selection */}

选择朝代 (Select Dynasty)

{DYNASTY_OPTIONS.map((option) => ( ))}
{/* Customization Selection */}

妆容与配饰 (Customization)

{CUSTOMIZATION_OPTIONS.map((option) => { const isSelected = selectedCustomizations.includes(option.id); return ( ); })}
{/* Action Button */} {!hasImage && (

请先上传照片 (Please upload a photo first)

)}
); };