@carbon/react
Version:
React components for the Carbon Design System
29 lines (27 loc) • 621 B
JavaScript
/**
* 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
export { MAX_LEVEL, MIN_LEVEL, levels };