next14 + tailwind 가로 프로그레스 바const [_step, setStep] = useState(0);const isRunAnimation = useMemo(() => { if (step !== _step) { setStep(step); return true; } else { return false; }}, [step]); {!isCompleted && ( )} 재사용가능한 컴포넌트로 만들기 위해서 step값을 props로 받아서 사용했다. 세로 프로그레스바