UNPKG

@carbon/ibm-products

Version:
18 lines (16 loc) 545 B
/** * Copyright IBM Corp. 2020, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ require("../../../_virtual/_rolldown/runtime.js"); let react = require("react"); //#region src/components/Coachmark/utils/context.ts const CoachmarkContext = (0, react.createContext)(null); const useCoachmark = () => { return (0, react.useContext)(CoachmarkContext); }; //#endregion exports.CoachmarkContext = CoachmarkContext; exports.useCoachmark = useCoachmark;