@mui/x-tree-view
Version:
The community edition of the MUI X Tree View components.
15 lines (14 loc) • 407 B
JavaScript
'use client';
import * as React from 'react';
/**
* @ignore - internal component.
*/
export const TreeViewStyleContext = /*#__PURE__*/React.createContext({
classes: {},
slots: {},
slotProps: {}
});
if (process.env.NODE_ENV !== "production") TreeViewStyleContext.displayName = "TreeViewStyleContext";
export const useTreeViewStyleContext = () => {
return React.useContext(TreeViewStyleContext);
};