Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
@@ -0,0 +1,17 @@
import * as React from 'react';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
import { useDrawerContextValue } from '../../contexts/drawerContext';
import { useOverlayDrawer_unstable } from './useOverlayDrawer';
import { renderOverlayDrawer_unstable } from './renderOverlayDrawer';
import { useOverlayDrawerStyles_unstable } from './useOverlayDrawerStyles.styles';
/**
* OverlayDrawer contains supplementary content and are used for complex creation, edit, or management experiences.
*/ export const OverlayDrawer = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useOverlayDrawer_unstable(props, ref);
const contextValue = useDrawerContextValue();
useOverlayDrawerStyles_unstable(state);
useCustomStyleHook_unstable('useDrawerOverlayStyles_unstable')(state);
useCustomStyleHook_unstable('useOverlayDrawerStyles_unstable')(state);
return renderOverlayDrawer_unstable(state, contextValue);
});
OverlayDrawer.displayName = 'OverlayDrawer';