UNPKG

@carbon/react

Version:

React components for the Carbon Design System

31 lines (29 loc) 667 B
/** * Copyright IBM Corp. 2016, 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. */ //#region src/components/Layer/LayerLevel.ts /** * Copyright IBM Corp. 2023, 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 levels = [ "one", "two", "three" ]; const LayerLevels = [ 0, 1, 2 ]; const MIN_LEVEL = LayerLevels[0]; const MAX_LEVEL = LayerLevels[LayerLevels.length - 1]; //#endregion exports.MAX_LEVEL = MAX_LEVEL; exports.MIN_LEVEL = MIN_LEVEL; exports.levels = levels;