import React from 'react'; import { Box, Typography, Stack, Button ,useTheme } from '@mui/material'; import ArrowBackIosIcon from '@mui/icons-material/ArrowBackIos'; import ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos'; const steps = [ { title: 'Forget Password', description: 'Provide an email to change your password', icon: '/images/icons/key.png', }, { title: 'Verify your email', description: 'Enter your otp verification', icon: '/images/icons/email.png', }, { title: 'Create a new password', description: 'Create your a new password', icon: '/images/icons/pen.png', }, { title: 'Welcome to KitchPlus app', description: 'Get up and running in 3 minutes', icon: '/images/icons/rocket.png', }, ]; const Side = ({ currentStepIndex, onNext, onBack }) => { const theme = useTheme(); return ( Step for change your password Instructions for secure password modification. Follow simple steps for password change. {steps.map((step, index) => ( {index !== steps.length - 1 && ( )} {step.title} {step.title} {step.description} ))} {/* ... (بقية محتوى الـ Side كما هو بدون تغيير) ... */} {/* أزرار التنقل */} {/* Back */} {/* Next */} ); }; export default Side;