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,15 @@
import * as React from 'react';
import { useDialogTitle_unstable } from './useDialogTitle';
import { renderDialogTitle_unstable } from './renderDialogTitle';
import { useDialogTitleStyles_unstable } from './useDialogTitleStyles.styles';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* The `DialogTitle` component expects to have a title/header
* and when `Dialog` is `non-modal` a close (X icon) button is provided through `action` slot by default.
*/ export const DialogTitle = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useDialogTitle_unstable(props, ref);
useDialogTitleStyles_unstable(state);
useCustomStyleHook_unstable('useDialogTitleStyles_unstable')(state);
return renderDialogTitle_unstable(state);
});
DialogTitle.displayName = 'DialogTitle';