Next and previous button are passed in by the consumer to allow for page routing method to be determined by the user
*/ export const FirstStep: Story = { args: { currentStepId: 'settings-step' }, } export const NextStepDisabled: Story = { args: { nextAction: }, } export const LastStep: Story = { args: { currentStepId: 'schedule-step', nextAction: , }, } export const AllStepsComplete: Story = { args: { currentStepId: 'schedule-step', isComplete: true, }, } export const FewerSteps: Story = { args: { currentStepId: 'questions-step', steps: [ { label: 'Settings', id: 'settings-step' }, { label: 'Questions', id: 'questions-step' }, { label: 'Preview', id: 'preview-step' }, ], }, } export const EightSteps: Story = { args: { currentStepId: 'questions-step', steps: [ ...meta.args.steps, { label: 'Plan', id: 'plan-step' }, { label: 'Provision', id: 'provision-step' }, { label: 'Procure', id: 'procure-step' }, ], }, }