UNPKG

@carbon/ibm-products

Version:
29 lines (27 loc) 794 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. */ import { pkg } from "../../../settings.js"; import { createContext } from "react"; //#region src/components/Tearsheet/next/context.ts /** * Copyright IBM Corp. 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. */ const TearsheetContext = createContext({ fullyCollapsed: false, disableHeaderCollapse: false, variant: "wide", isSm: false, decorator: void 0, closeIconDescription: void 0, hideCloseButton: false }); const blockClass = `${pkg.prefix}--tearsheet__next`; //#endregion export { TearsheetContext, blockClass };