UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

22 lines (21 loc) 754 B
"use strict"; 'use client'; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.useTreeViewStyleContext = exports.TreeViewStyleContext = void 0; var React = _interopRequireWildcard(require("react")); /** * @ignore - internal component. */ const TreeViewStyleContext = exports.TreeViewStyleContext = /*#__PURE__*/React.createContext({ classes: {}, slots: {}, slotProps: {} }); if (process.env.NODE_ENV !== "production") TreeViewStyleContext.displayName = "TreeViewStyleContext"; const useTreeViewStyleContext = () => { return React.useContext(TreeViewStyleContext); }; exports.useTreeViewStyleContext = useTreeViewStyleContext;