Files
2025-03-07 19:22:02 +01:00

15 lines
808 B
JavaScript

import * as React from 'react';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
import { useDrawerHeaderTitle_unstable } from './useDrawerHeaderTitle';
import { renderDrawerHeaderTitle_unstable } from './renderDrawerHeaderTitle';
import { useDrawerHeaderTitleStyles_unstable } from './useDrawerHeaderTitleStyles.styles';
/**
* DrawerHeader provides a structured header for the drawer component.
*/ export const DrawerHeaderTitle = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useDrawerHeaderTitle_unstable(props, ref);
useDrawerHeaderTitleStyles_unstable(state);
useCustomStyleHook_unstable('useDrawerHeaderTitleStyles_unstable')(state);
return renderDrawerHeaderTitle_unstable(state);
});
DrawerHeaderTitle.displayName = 'DrawerHeaderTitle';