Last active
June 25, 2022 07:08
-
-
Save JohnRandom/70f0fe662ff78368d6354aa6dadd9463 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setOnboardingStep(stepLabel) { | |
return { | |
type: 'SET_ONBOARDING_STEP', | |
payload: stepLabel | |
} | |
} | |
function addOnboardingMilestone(type) { | |
return { | |
type: 'ADD_ONBOARDING_MILESTONE', | |
payload: type | |
} | |
} | |
function removeOnboardingMilestone(type) { | |
return { | |
type: 'REMOVE_ONBOARDING_MILESTONE', | |
payload: type | |
} | |
} | |
function insertOnboardingStep(stepBefore, step, stepLabel) { | |
return { | |
type: 'INSERT_ONBOARDING_STEP', | |
payload: { stepBefore, step, stepLabel } | |
} | |
} | |
function removeOnboadingStep(stepLabel, newNextStep) { | |
return { | |
type: 'REMOVE_ONBOARDING_STEP', | |
payload: { stepLabel, newNextStep } | |
} | |
} | |
function setFinalOnboardingStep(type) { | |
return { | |
type: 'SET_FINAL_ONBOARDING_STEP', | |
payload: type | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment