import { createContext } from 'react'; import type { WalkthroughControlsState } from '../../hooks/code-walkthrough/use-code-walkthrough-controls'; export const CodeWalkthroughControlsStateContext = createContext({ activeFilters: [], getControlState: () => null, changeControlState: () => {}, getFileText: () => '', areConditionsMet: () => false, handleDownloadCode: () => Promise.resolve(), populateInputsWithValue: (node) => node, });