/* @oracle/oraclejet-preact: undefined */
import { useContext } from 'preact/hooks';
import { E as EnvironmentContext } from './LayerHost-e6402730.js';
import 'preact/jsx-runtime';
import 'preact/compat';

/**
 * @license
 * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
 * The Universal Permissive License (UPL), Version 1.0
 * as shown at https://oss.oracle.com/licenses/upl/
 * @ignore
 */
function useDensity() {
    return useContext(EnvironmentContext).density;
}

export { useDensity as u };
//# sourceMappingURL=useDensity-c17603b2.js.map
