@redocly/theme
Version:
Shared UI components lib
14 lines • 549 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CodeWalkthroughControlsStateContext = void 0;
const react_1 = require("react");
exports.CodeWalkthroughControlsStateContext = (0, react_1.createContext)({
activeFilters: [],
getControlState: () => null,
changeControlState: () => { },
getFileText: () => '',
areConditionsMet: () => false,
handleDownloadCode: () => Promise.resolve(),
populateInputsWithValue: (node) => node,
});
//# sourceMappingURL=CodeWalkthroughControlsContext.js.map