import React, { useState } from "react";
import "./twoMainUnit.css";
const Lesson1 = () => (
Lesson 12단원
Content for Lesson 1...
);
const Lesson2 = () => (
2단원
Content for Lesson 2...
);
const TwoMainUnit = () => {
const [currentStep, setCurrentStep] = useState(1);
const renderLesson = () => {
switch (currentStep) {
case 1:
return ;
case 2:
return ;
default:
return ;
}
};
return (
{renderLesson()}
);
};
export default TwoMainUnit;