Private
Public Access
1
0
Files

16 lines
822 B
JavaScript

'use client';
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';