Private
Public Access
1
0
Files
power-apps-codeapps-blog-part2/node_modules/@fluentui/react-drawer/lib/components/DrawerHeader/DrawerHeader.js

16 lines
757 B
JavaScript

'use client';
import * as React from 'react';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
import { useDrawerHeader_unstable } from './useDrawerHeader';
import { renderDrawerHeader_unstable } from './renderDrawerHeader';
import { useDrawerHeaderStyles_unstable } from './useDrawerHeaderStyles.styles';
/**
* DrawerHeader provides a structured header for the drawer component.
*/ export const DrawerHeader = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useDrawerHeader_unstable(props, ref);
useDrawerHeaderStyles_unstable(state);
useCustomStyleHook_unstable('useDrawerHeaderStyles_unstable')(state);
return renderDrawerHeader_unstable(state);
});
DrawerHeader.displayName = 'DrawerHeader';