Files
powerpoint-toolbox/node_modules/@fluentui/react-drawer/lib/components/DrawerHeaderNavigation/DrawerHeaderNavigation.js
T
2025-03-07 19:22:02 +01:00

15 lines
878 B
JavaScript

import * as React from 'react';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
import { useDrawerHeaderNavigation_unstable } from './useDrawerHeaderNavigation';
import { renderDrawerHeaderNavigation_unstable } from './renderDrawerHeaderNavigation';
import { useDrawerHeaderNavigationStyles_unstable } from './useDrawerHeaderNavigationStyles.styles';
/**
* DrawerHeaderNavigation provides a header navigation area for the Drawer.
*/ export const DrawerHeaderNavigation = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useDrawerHeaderNavigation_unstable(props, ref);
useDrawerHeaderNavigationStyles_unstable(state);
useCustomStyleHook_unstable('useDrawerHeaderNavigationStyles_unstable')(state);
return renderDrawerHeaderNavigation_unstable(state);
});
DrawerHeaderNavigation.displayName = 'DrawerHeaderNavigation';