Gets the spotlight element config for a specific onboarding step.
The onboarding step.
The spotlight config, or undefined if no element should be highlighted.
export function getSpotlightForStep( step: OnboardingStep,): ElementSpotlight | undefined { const config = STEP_ROUTE_CONFIG.find((c) => c.step === step); return config?.spotlight;} Copy
export function getSpotlightForStep( step: OnboardingStep,): ElementSpotlight | undefined { const config = STEP_ROUTE_CONFIG.find((c) => c.step === step); return config?.spotlight;}
Gets the spotlight element config for a specific onboarding step.