import { createContext } from 'react';

import type { WalkthroughStepsState } from '../../types/code-walkthrough';

export const CodeWalkthroughStepsContext = createContext<WalkthroughStepsState>({
  markers: {},
  activeStep: null,
  setActiveStep: () => {},
  registerStep: () => {},
  registerMarker: () => {},
  removeMarker: () => {},
  removeStep: () => {},
});
