import React from 'react'; import { WizardState } from '../types'; import { Camera, BookOpen, Ghost, Sword } from 'lucide-react'; import { UI_TEXT } from '../_EDITABLE_CONFIG/ui_text'; interface StepContextProps { data: WizardState; updateData: (updates: Partial) => void; nextStep: () => void; } const StepContext: React.FC = ({ data, updateData, nextStep }) => { const handleContextSelect = (context: WizardState['context']) => { if (context === 'relacja') { updateData({ context, storyStyle: null }); setTimeout(nextStep, 150); } else { updateData({ context, storyStyle: null }); } }; const handleStyleSelect = (storyStyle: WizardState['storyStyle']) => { updateData({ storyStyle }); setTimeout(nextStep, 150); }; return (

{UI_TEXT.stepContext.title}

{UI_TEXT.stepContext.subtitle}

{data.context === 'opowiesc' && (

{UI_TEXT.stepContext.styles.title}

{UI_TEXT.stepContext.styles.subtitle}

)}
); }; export default StepContext;