@carbon/ibm-products
Version:
Carbon for IBM Products
16 lines (12 loc) • 401 B
JavaScript
/**
* Copyright IBM Corp. 2020, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { useContext, createContext } from 'react';
const CoachmarkContext = /*#__PURE__*/createContext();
const useCoachmark = () => {
return useContext(CoachmarkContext);
};
export { CoachmarkContext, useCoachmark };