Private
Public Access
1
0

feat: Fluent UI Outlook Lite + connections mockup

This commit is contained in:
2026-04-14 18:52:25 +00:00
parent 1199eff6c3
commit dfa4010406
34820 changed files with 1003813 additions and 205 deletions

View File

@@ -0,0 +1,44 @@
'use client';
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
DrawerProvider: function() {
return DrawerProvider;
},
drawerContext: function() {
return drawerContext;
},
useDrawerContextValue: function() {
return useDrawerContextValue;
},
useDrawerContext_unstable: function() {
return useDrawerContext_unstable;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
const defaultContextValue = {
scrollState: 'none',
setScrollState: ()=>({})
};
const drawerContext = /*#__PURE__*/ _react.createContext(undefined);
const DrawerProvider = drawerContext.Provider;
const useDrawerContext_unstable = ()=>{
var _React_useContext;
return (_React_useContext = _react.useContext(drawerContext)) !== null && _React_useContext !== void 0 ? _React_useContext : defaultContextValue;
};
const useDrawerContextValue = ()=>{
const [scrollState, setScrollState] = _react.useState('none');
return {
setScrollState,
scrollState
};
};