Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mingyeongho/funnel

스터디 - 퍼널
https://github.com/mingyeongho/funnel

Last synced: 4 days ago
JSON representation

스터디 - 퍼널

Awesome Lists containing this project

README

        

# Funnel

Funnel 기능을 사용할 곳에 useFunnel을 가져온 후

```
const { Funnel, setStep } = useFunnel({ qs: funnelTitle });


<병원선택 onNext={() => setStep({ step: "일정선택" })} />


<일정선택 onNext={() => setStep({ step: "정보확인" })} />


<정보확인 onNext={() => setStep({ step: "예약성공" })} />


<예약성공 />

```

위 처럼 사용
(useFunnel은 Funnel 컴포넌트와 step 이동 함수인 setStep을 리턴으로 한다.)